Separate mouse zoom on segmented Y axes, and segments clip

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
Claudio_G
Posts: 13
Joined: Fri Sep 15, 2017 7:28 am

Separate mouse zoom on segmented Y axes, and segments clip

Post by Claudio_G » Fri Sep 15, 2017 7:41 am

Hi there, I am looking at the examples (for instance ExampleYAxesLayouts, but also the others where you have segmentd Y axes), but I cannot make each segment zoom separately on the Y.

If I zoom with the mouse wheel on the graph, bot X and Y axes are zooming in and out. If i use wheel with SHIFT, all X axes zoom in or out. If I use wheel with CTRL all Y axes zoom in or out. If i try the wheel directly on an axis it moves, if I use SHIFT or CTRL wheel directly on an axis nothing happens.

Is it possible for when you use wheel with CTRL to only zoom the axis segment where the mouse is? It would be ok also if that worked when the mouse is over the axis rather than the graph.

Also if you move the Y axis up or down, the graph will enter the neighboring segments. Is it possible to clip a series to render only within its segment?

Cheers.
Claudio

Claudio_G
Posts: 13
Joined: Fri Sep 15, 2017 7:28 am

Re: Separate mouse zoom on segmented Y axes, and segments cl

Post by Claudio_G » Fri Sep 15, 2017 9:23 am

Ok, I got the Zoom behavior I needed by changing the ViewXY.ZoomPanOptions.

The only missing part is how do I clip each series to it's segment?

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

Re: Separate mouse zoom on segmented Y axes, and segments cl

Post by ArctionPasi » Fri Sep 15, 2017 2:08 pm

Hi Claudio,

to clip the data in a segment, set series.LimitYToStackSegment = true.
LightningChart Support Team, PT

Post Reply