By - 2 Years Ago
|
Hello - I have a large data set with a configured X and Y axis. When I display the entire data set, the Y axis behaves as expected, with the range of the Y axis set from 0 to the maximum Y value, with some added buffer.
When I page the same data, and display a subset of the data in the page, the maximum on the Y axis remains the maximum Y value of the entire data set, even if that Y value is not visible in the displaying page.
How can I adjust the maximum Y value on a Y axis to reflect the maximum Y value shown on the visible page, rather than the maximum Y value of the entire data set?
|
By Nevron Support - 2 Years Ago
|
Hi,
You need to set the VerticalAxisRangeMode to view range:
someSeries.VerticalAxisRangeMode = AxisRangeMode.ViewRange; You can take a look at the All Examples \ Axes \ Scaling \ Dynamic Axis Range, which shows how this works.
Let us know if you have any questions.
|
|