SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Hello, with a linechart we want the Y-Axes scale automatically as they do by default, but they should not scale beyond an upper and lower limit. The reason is that our data sometimes have significant spikes pushing the axes scales up to astronimic values. As a result the rest of the curves are squeezed within a line of 1 pixel hight or so.
Is there any recommended way to do this? Thank you
There are several posts on forums dedicated to this topic, please, take a look at Zoom including annotations post which demonstrates how to implement this behavior using the ViewportManager and Zoom without YVisibleRange changing demonstrating how to extend ZoomExtents modifier.
Update June 2014
From SciChart 3.0 you can use VisibleRangeLimit API to prevent zooming beyond some specified range. For more information please take a look on our tutorial about VisibleRangeLimit API
Please, don’t hesitate to ask if you need more assistance with this!
Please login first to submit.