Problem with legend checkboxes
Posted: Tue Jun 30, 2009 2:17 pm
Hi! (new to this forum...)
I am using TeeChart Pro v7 ActiveX.
I have a chart with several series, which uses legend with checkboxes. I would save the current status at a given moment (which series have been created and which of them are checked) and then I would reproduce exactly the same situation at a later time.
I know about the "series(i).active" property, but I think it is not suitable for my purpose: in fact, it only can let me know if a series is checked or not, but the problem is that, when I re-create the chart, if I set as NOT active the series which were originally unchecked, they will not be shown at all, neither will be shown the legend. I would instead reproduce exactly the original situation: i.e. I would list in the legend ALL the series , even those which were originally unchecked; of course they will have their unchecked checkbox (as in the original status) so that user can easily re-activate the series.
Hope to have been clear enough...
I am using TeeChart Pro v7 ActiveX.
I have a chart with several series, which uses legend with checkboxes. I would save the current status at a given moment (which series have been created and which of them are checked) and then I would reproduce exactly the same situation at a later time.
I know about the "series(i).active" property, but I think it is not suitable for my purpose: in fact, it only can let me know if a series is checked or not, but the problem is that, when I re-create the chart, if I set as NOT active the series which were originally unchecked, they will not be shown at all, neither will be shown the legend. I would instead reproduce exactly the original situation: i.e. I would list in the legend ALL the series , even those which were originally unchecked; of course they will have their unchecked checkbox (as in the original status) so that user can easily re-activate the series.
Hope to have been clear enough...