Page 1 of 1

axis visibility

Posted: Wed Jun 03, 2009 4:06 pm
by 14045263
hey,

I've got a normal tchart with one line added to it and filled with sample values, and the legend has checkboxes.

Now if i uncheck the checkbox, the line disappears, and so do the axis labels and title. At this point, is there any way of telling if this has happened, i.e the labels/title or even axis is no longer visible because the all traces associated with it are turned off?

I've tried the Axis.Visible and the Axis.Labels.Visible property but they still return true.

Regards,

Chris.

Posted: Thu Jun 04, 2009 9:21 am
by yeray
Hi noaksey,

This should happen only when you chart has no series set as visible or no series assigned to an axis. So you could loop into you chart series list and check it.