Page 1 of 1

Bug when turning checkboxes off in legend

Posted: Sun Jan 15, 2006 8:03 pm
by 9341795
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

Posted: Mon Jan 16, 2006 9:02 am
by narcis
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;