Just stumbled over something weird with the Legends - maybe this is a Bug. It's not mission critical to me
I drop a TChart on a Form, set "Legends Style" to "Series Name", Check "Inverted" and "Check Boxes" (that's my Chart-setup to reproduce this problem).
After adding some Series by code (TFastLineSeries), clicking on the checkboxes enables/disables a Series - but definitely not the one I wish to . Uncheck "Inverted" and everything works as expected.
My Idea: The Series-Display is inverted in the Legend - but the Checkboxes is not. They still enable/disable in the non-inverted order
Possible Bug in Legends
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MocoTec,
This works fine for me here using TeeChart Pro v7.07 (v7.08 for BDS 2006), which is the latest version available at the client area, and using the code below. Which TeeChart version are you using? Does the code below work fine at your end? Could you please modify it so that we can reproduce the issue here?
Thanks in advance.
This works fine for me here using TeeChart Pro v7.07 (v7.08 for BDS 2006), which is the latest version available at the client area, and using the code below. Which TeeChart version are you using? Does the code below work fine at your end? Could you please modify it so that we can reproduce the issue here?
Code: Select all
uses Series;
procedure TForm9.FormCreate(Sender: TObject);
var i: Integer;
begin
Chart1.Legend.Inverted:=true;
Chart1.Legend.CheckBoxes:=true;
Chart1.Legend.LegendStyle:=lsSeries;
for i := 0 to 10 do
begin
Chart1.AddSeries(TFastLineSeries.Create(self));
Chart1[i].FillSampleValues();
end;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |