Hi,
I have to renew an older measurement application and there is something i doesn't found.
Is there a way to transpose the X and Y axes at runtime?
I've found an entry in the forum about "Swap X and Y axes", but it's not that what I'am searching for, because i can't rotate the hole Chart area including axes.
How to transpose X and Y axis in ViewXY?
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: How to transpose X and Y axis in ViewXY?
Hello
Using WPF's RenderTransform or LayoutTransform is the way users typically do it.
- Rotate by 90 degrees
- aligning axes to different edges of the chart left -> right and bottom -> top if preferred
- setting axis.Reversed = true based on the preference.
That's pretty much it.
Using WPF's RenderTransform or LayoutTransform is the way users typically do it.
- Rotate by 90 degrees
- aligning axes to different edges of the chart left -> right and bottom -> top if preferred
- setting axis.Reversed = true based on the preference.
That's pretty much it.
LightningChart Support Team, PT
Re: How to transpose X and Y axis in ViewXY?
Hey,
Many thx. I will try it out.
Many thx. I will try it out.
Re: How to transpose X and Y axis in ViewXY?
Hi,
After some hours in fighting with property names from Chart. It's now working.
But for my opinion it's a creepy solution, in case of overriding parent controls OnRenderSizeChanged and using some other tricks.
After some hours in fighting with property names from Chart. It's now working.
But for my opinion it's a creepy solution, in case of overriding parent controls OnRenderSizeChanged and using some other tricks.