SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
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.