Legend Order

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
David Novo
Newbie
Newbie
Posts: 71
Joined: Fri Jul 02, 2004 4:00 am
Location: Culver City
Contact:

Legend Order

Post by David Novo » Sat Apr 01, 2006 1:58 am

Hello,

It seems that the legend items get drawn in the order of the seriesList. Is there a way to change the order in the legend. For instance, if I want to list the legend items alphabetically or something?

i.e.

series.showInLegend:=true;
series.LegendPos:=7;

something along those lines?

David Novo
Newbie
Newbie
Posts: 71
Joined: Fri Jul 02, 2004 4:00 am
Location: Culver City
Contact:

Post by David Novo » Tue Apr 04, 2006 9:22 pm

Is there any answer to this question :-)

Pep
Site Admin
Site Admin
Posts: 3273
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Apr 11, 2006 10:08 am

Hi David,

now using the latest maintenance release of the Teechart Pro v7, you can customize the legend items independently using Chart1.Legend.Items.xxx allowing to sort them.

Post Reply