Stacked Layout panned seems series belongs to other axis

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

Stacked Layout panned seems series belongs to other axis

Post by Igor » Wed Apr 13, 2016 9:52 am

Hi,

according to your example in the demo application: "Cut line data".
If I pan the view it looks like that the yellow line series belongs to the bottom axis and has wrong values.
It could be very confusing for user if the series has higher values than expected (not really higher, but it looks like)

Do you have any ideas how I could change the behaviour of the chart, so it don't looks like the series has wrong values.
My first thought was that I would expect that the series can't be moved to the bottom axis... cut the series when it leaves the range of the top axis or so?!?
1.png
1.png (67.95 KiB) Viewed 5796 times
# after view panned
2.png
2.png (65.33 KiB) Viewed 5796 times
thank you very much

Igor

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Stacked Layout panned seems series belongs to other axis

Post by ArctionPasi » Wed Apr 13, 2016 2:29 pm

Hi,

You can cut the data inside the segment it belongs to by setting series.LimitYToStackSegment = True.

You can disable Y axis panning by setting yAxis.MouseScaling = False, and yAxis.MouseScrolling = False. And also preventing the panning and zooming in ViewXY.ZoomPanOptions.LeftMouseButtonAction and RightMouseButtonAction to 'None'
LightningChart Support Team, PT

Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

Re: Stacked Layout panned seems series belongs to other axis

Post by Igor » Thu Apr 14, 2016 6:10 am

ok i've set series.LimitYToStackSegment = True.
That's exactly what I wanted.
Thanks

Post Reply