Custom axis problem

TeeChart for ActiveX, COM and ASP
Post Reply
David
Advanced
Posts: 203
Joined: Tue Nov 08, 2005 5:00 am

Custom axis problem

Post by David » Wed Nov 28, 2007 7:51 am

Hi,

I added two custom vertical axis and linked them two series, then I added a selection function similar to the legend with checkbox so that the series can be hidden or displayed with m_chart1.Series(0).SetActive();. But there came one problem. when a series is hidden, the custom axis is also gone, which makes the other axis move to another position. Is there any way to display the axis even if the series linked with it is set to inactive?

Thanks,
David

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

Post by Narcís » Wed Nov 28, 2007 10:29 am

Hi David,

I'm afraid not. An axis always needs an active series to be visible. You can use a dummy series with no data associated to this axis.
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