Adjust Y Axis Range to Viewable Page Range?


Author
Message
Matthew Crider
Matthew Crider
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 0, Visits: 78
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?
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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.


Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search