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

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.

SciChart WPF v6 BETA released! Note pricing/licensing changes are coming. Contact us to beat the rise!Read more
+