ZoomPanModifier provides Pan+Zoom functionality. But, is there modifier for Pan only?
I don’t want to zoom the chart when edges are reached during panning.
- anth asked 10 years ago
- You must login to post comments
Hi there,
You need to look at the options for ZoomPanModifier.ClipModeX. This lets you choose how the modifier behaves when it reaches the end of the data.
I hope this helps!
Andrew
- Andrew Burnett-Thompson answered 10 years ago
-
I’ve been trying to use this method, and it doesn’t seem to work for the Y axis. When I pan up, the zoom always increases. Is this behaviour normal? If so, do I have to create a custom ChartModifier to enable panning without zooming?
-
I think that this might be a bug. It turns out the problem is that I had VisibleRangeLimit set to (0, 100), so when I tried to pan up too far, the lower bound would be locked at 0. As a result, future attempts to pan up cause the view to zoom vertically.
-
Have a look at https://www.scichart.com/documentation/v4.x/webframe.html#Axis%20Ranging%20-%20AutoRange%20and%20VisibleRange.html – we present an alternative to build in VisibleRangeLimit (scroll down to “Advanced VisibleRange Clipping and Manipulation”). Using this you may be able to solve your conflict of VisibleRangeLimit and ZoomPanModifier pan in Y-direction.
- You must login to post comments
Please login first to submit.