TChartLegend Checkboxes

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Aldo
Newbie
Newbie
Posts: 3
Joined: Tue Feb 15, 2005 5:00 am
Location: Calgary, Alberta CANADA
Contact:

TChartLegend Checkboxes

Post by Aldo » Thu Feb 24, 2005 7:09 pm

Hi,

I've activated the checkboxes option for my chart legend. I've created my original chart with 24 Line series' but sometimes the user will only plot 5 or 10 lines. However, the legend still shows the series that aren't plotted with the checkboxes unchecked.

Does anybody know a way of not showing the unplotted series lines in the legend?

Thanks in advance,
Aldo

beetle
Newbie
Newbie
Posts: 59
Joined: Fri Dec 12, 2003 5:00 am

Post by beetle » Thu Feb 24, 2005 7:33 pm

Hi, there is a property of TChartSeries called 'ShowInLegend' that
tells the chart to show or not to show one series in the legend.

Bye.

Aldo
Newbie
Newbie
Posts: 3
Joined: Tue Feb 15, 2005 5:00 am
Location: Calgary, Alberta CANADA
Contact:

Post by Aldo » Thu Feb 24, 2005 8:55 pm

Thanks for the help Beetle!

Post Reply