Use of LegendPalette

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Courteous
Newbie
Newbie
Posts: 7
Joined: Fri Jul 20, 2007 12:00 am
Location: Brisbane, Australia

Use of LegendPalette

Post by Courteous » Thu Oct 18, 2007 6:54 am

Hi,

I am plotting 3D points on a chart, and I want to colour them based on age (so colour becomes a kind of 4th dimension).

I then want to use a LegendPalette (or similar) to give the viewer an idea what each colour represents.

Can you suggest how best to go about doing this?

Thanks,

Courteous

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

Post by Narcís » Thu Oct 18, 2007 8:57 am

Hi Courteous,

Yes, I recommend you doing something as in the examples I posted here and then add a LegendPalette tool doing this:

Code: Select all

			Steema.TeeChart.Tools.LegendPalette legendPalette1 = new Steema.TeeChart.Tools.LegendPalette(tChart1.Chart);
			legendPalette1.Series = colorGrid1;
Hope this helps!
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