Page 1 of 1

Custom axis problem

Posted: Wed Nov 28, 2007 7:51 am
by 9529132
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

Posted: Wed Nov 28, 2007 10:29 am
by narcis
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.