SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

0
0

Hi, I have a question: after execution of zoomExtents, how can I reset this zoom level and go back to the state before?

Thanks!

  • You must to post comments
1
0

Hi,
So far we don’t have such a behavior in SciChart.
BUT there’re several workarounds:
1) You can create your own class inheriting from our ZoomExtents, override OnModifierDoubleClick and add there a variable which would keep previous VisibleRange;

2) Also you can use IAxis.VisibleRangeChanged event;

3) Optionally, you could make use of ViewportManager feature. Here’s a thread on Viewport implementaion.
And finally, the post on Zoom History, which may be really handy for you.

Hope, at least one should be the way! 😉

Let us know if we can be of further assistance.
– SciChart Team

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.