Page 1 of 1

Legend checkboxes

Posted: Thu Aug 19, 2004 11:15 am
by 9231947
Hi all

I am sure I am making a very simple mistake soewhere. When I make the legend style "Checkboxes", it has no effect. I also don't get the legendclicked event. Is there another property that I must set?

Thanks in advance

Hendrik

Posted: Fri Aug 20, 2004 2:00 pm
by Marjan
Hi.

Setting Legend.CheckBoxes property to true seems to work fine (using TC 7.01 with Delphi 7):

Code: Select all

Chart1.Legend.CheckBoxes := True;
I also don't get the legendclicked event.
This is a TChart event so selecting a chart in the Object Inspector, switching to "Events" tab and then double clicking on OnClickLegend event should do the trick.