Detection of active axes

TeeChart for ActiveX, COM and ASP
Post Reply
Western Power
Newbie
Newbie
Posts: 2
Joined: Wed Jan 23, 2008 12:00 am

Detection of active axes

Post by Western Power » Thu Jan 24, 2008 12:01 am

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 24, 2008 11:14 am

Hi Western Power,

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply