Legend item order

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Vestas.com, Plant IT developer
Newbie
Newbie
Posts: 9
Joined: Thu Jan 11, 2007 12:00 am

Legend item order

Post by Vestas.com, Plant IT developer » Tue Nov 11, 2008 12:19 pm

Hi
I am drawing a chart with 14 series (points and bars). Is it possible to manually define the order of the legend so I can define the EXACT order of the series in the legend e.g. by an index?

I'm using version 2.0.3203.23272

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

Post by Narcís » Tue Nov 11, 2008 12:28 pm

Hello,

In v2 you can exchange series order like this:

Code: Select all

			tChart1.Series.Exchange(series1, series2);
v3 includes LegendItems array that adds more flexibility on this area.
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