Pre loader

Scaling Y Axis Range as well data

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

Is it possible to scale Y Axis and its data together?.For example, Current Y Axis Range is (0,10) and Y values are [0,2,5,8]. Now when I scale Y axis range by 10 times (IRange.GrowBy(10,10)) ,i expect the Y values also gets scaled by 10 without modifying the actual data in model (expected result [0,20,50,80])

Version
3.2
  • You must to post comments
0
0

Hi Deepak.

You’re using the wrong property. GrowBy adds a padding above and below the data on the axis. VisibleRange changes the range of the axis which will scale the data.

For more information please see Axis APIs – VisibleRange

There is also some documentation on programmatically zooming and panning here.

Best regards,
Andrew

  • 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