SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
i use a ZoomPanModifier so that the user can drag the chart with the right mouse. First, XyDirection was not set, so the user could drag in X and Y direction.
I wanted to change this behaviour so that the modifier works like the RubberBandXyZoomModifier (with ZoomExtentsY = false). That means, only moving the chart in X-Direction, but not Y.
So i set XyDirection of the ZoomPanModifier to “XDirection”. Now, the user can’t scroll in Y. So far so good. But now the chart is autoscaled in Y direction on the first X-Movement, even with AutoRange turned off! Is this a bug? If not, what can i do to prevent this unwanted auto scaling?
There is the ZoomExtentsY property in ZoomPanModifier, it’s set to “True” by default. Seems that it causes autoscaling in the Y direction – try to set it to “False”. Optionally, take a look at the Pan X or Y direction example, there this behavior is demonstrated and you can change it using the checkbox in the top right corner.
Please, let us know if this resolves the issue.
Please login first to submit.