Greetings.
I would like to have the option of having a Y axis that can scale in runtime based upon the Y maximum and minimum values of the 'visible' section of the series.
example: Scrolling left or right on a chart that is zoomed and having the Left axis adjust accordingly to only the visible Ymax and Ymin.
I looked in the example for the realtime chart as the Left axis does update exactly like this but there is nothing obvious in that example that suggests how this is done. in Fact I think this is done by constantly changing the entire series maximums and minimums.
Is there a property that will make an axis update its bounds based upon the values of the 'visible' portion of the series (such as when zoomed).
If not is there a property that knows the max and min values of a zoomed section and I can programatically update the axis using the scroll event.
regards Phil.
Autoscaling the Left axis based on visible Series Y values.
Autoscaling the Left axis based on visible Series Y values.
--------------------
Cheers Phil.
Cheers Phil.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Autoscaling the Left axis based on visible Series Y values.
Hi Phil,
You could do something as the local minimum and maximum example suggested here. You could use series' FirstVisibleIndex and LastVisibleIndex as first and last arguments.
Hope this helps.
You could do something as the local minimum and maximum example suggested here. You could use series' FirstVisibleIndex and LastVisibleIndex as first and last arguments.
Hope this helps.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |