Page 1 of 1

Separate mouse zoom on segmented Y axes, and segments clip

Posted: Fri Sep 15, 2017 7:41 am
by Claudio_G
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

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

Posted: Fri Sep 15, 2017 9:23 am
by Claudio_G
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?

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

Posted: Fri Sep 15, 2017 2:08 pm
by ArctionPasi
Hi Claudio,

to clip the data in a segment, set series.LimitYToStackSegment = true.