How to change text in legend?

TeeChart for ActiveX, COM and ASP
Post Reply
Paul2
Newbie
Newbie
Posts: 7
Joined: Fri Feb 17, 2006 12:00 am

How to change text in legend?

Post by Paul2 » Sat Mar 18, 2006 6:44 pm

I want the legend to say something other than "Series0" and "Series1", but I don't want to rename the series. How can I do that?

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

Post by Narcís » Mon Mar 20, 2006 8:53 am

Hi Paul2,

You can use OnGetLegendText event and its ValueIndex parameter to identify each item in the legend.
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