Bug when turning checkboxes off in legend

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Michael
Newbie
Newbie
Posts: 8
Joined: Tue May 03, 2005 4:00 am

Bug when turning checkboxes off in legend

Post by Michael » Sun Jan 15, 2006 8:03 pm

If you have two or more series active in a chart and then turn checkboxes of in the plot editor under the legend tab all but the first series is inactivated.
Steps to repeat:
1 Add a chart to a form
2 Double-click on the chart to enter the plot editor
3 Add two series
4 Under the legend tab, turn off checkboxes and note how the last series is inactivated.

Is there a workaround?

Best regards,
Michael

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jan 16, 2006 9:02 am

Hi Michael,

Thanks for reporting that. I've been able to reproduce it here following the steps you posted and it is definetely a bug. I'll add it to our defect list to be fixed for future releases. The only workaround I can think of for now is setting the inactive series to active:

Code: Select all

  Series2.Active:=true;
Or forcing all TChart series being active:

Code: Select all

  for i:=0 to Chart1.SeriesCount-1 do Chart1[i].Active:=true;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply