Pre loader

Y-Axes automatic scale but with limit

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

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

  • You must to post comments
0
0

Hi,

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!

Best regards,
Yuriy

  • 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