I have a chart on which all the axes are active (top, bottom, right and left). When a user adds a series, they may choose which is to be the horizontal, and which is to be the vertical axis.
Obviously, if there is no series using an axis, it is not rendered, even if the axis is set as active and visible.
My question is, how can I detect whether an axis is being used (and rendered)? Do I have to write a helper function that iterates through the series and finds which axes are inactive? Or is there a property or method to do it directly?
Detection of active axes
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Western Power,
I think the only solution is as you suggested, iterating through all the series and check which axes are using.
I think the only solution is as you suggested, iterating through all the series and check which axes are using.
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 |