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])
- deepak b asked 6 years ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 6 years ago
- You must login to post comments
Please login first to submit.