Legend checkboxes

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
AMS
Newbie
Newbie
Posts: 24
Joined: Wed Mar 31, 2004 5:00 am
Location: South Africa
Contact:

Legend checkboxes

Post by AMS » Thu Aug 19, 2004 11:15 am

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

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Fri Aug 20, 2004 2:00 pm

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.
Marjan Slatinek,
http://www.steema.com

Post Reply