Hi,
I have a strange behaviour with the chart.ViewXY.AxisLayout.AutoAdjustMargins-Settings. In my LC5-code I set the margins programatically depending on some parameters defined for the chart layout. After upgrading to LC6, if I set the chart.ViewXY.AxisLayout.AutoAdjustMargins = true; the beginning of multiple charts in one grid aren't equally alligned. If I set them to false, to get the same behaviour as in LC5, all axes disappear, as if the margins aren't set correctly.
I hope the demo helps to reproduce the issue.
LC6: Strange behaviour with AutoAdjustMargins=false
Moderator: Queue Moderators
LC6: Strange behaviour with AutoAdjustMargins=false
- Attachments
-
- WpfApplication1.zip
- Demo solution
- (39.1 KiB) Downloaded 711 times
-
- chart.ViewXY.AxisLayout.AutoAdjustMargins = true;
- AutoAdjustMargins_true.png (95.93 KiB) Viewed 7525 times
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: LC6: Strange behaviour with AutoAdjustMargins=false
Hi, it is a bug and will be fixed soon.
You can go around the problem by Moving the row after SetMargins row, then it works.
You can go around the problem by Moving the
Code: Select all
chart.ChartRenderOptions.DeviceType = RendererDeviceType.HardwareOnly;
LightningChart Support Team, PT