D6, Tchart 8.01, A chart with several series, each series is displayed in the legend whic has check boxes. At run time the user can toggle the check boxes in the legend to toggle display of each series on the chart.
I'd like to be able to set the legend tick box in code, so that when the form first opens I can set the state of the lengend check boxes depending on other conditions.
Can someone tell me how to do-
chart.legend.checkboxstate[0]:=false or similar please.
thanks
Sean
Legends with check boxes
-
- Newbie
- Posts: 19
- Joined: Thu Sep 27, 2007 12:00 am
- Location: UK
- Contact:
-
- Newbie
- Posts: 19
- Joined: Thu Sep 27, 2007 12:00 am
- Location: UK
- Contact:
There isn't a manual control on legend checkboxes but you always can activate/deactivate the series as follows, and the checkboxes will update:
Code: Select all
Chart1.Series[0].Active := false;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |