Pre loader

Pan without zoom

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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.

  • You must to post comments
0
0

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

  • kylerenwick
    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?
  • kylerenwick
    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.
  • Andrew Burnett-Thompson
    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 to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies