Page 1 of 1

Newbie question

Posted: Wed Dec 15, 2004 7:35 am
by 6919081
I am new to teechart and i have created a simple chart with two series.

The question is in the Legend place, it shows series0 and series while I hope I can modify this as I want. Which method or property I can use to achieve this?

Thank you all in advance.

Posted: Wed Dec 15, 2004 8:55 am
by Marjan
Hi.

Try using series Title property (at design time or in code).

Posted: Wed Dec 15, 2004 8:56 am
by narcis
Hi Richard,

You can change the series title using the editor or run-time using:

Code: Select all

TChart1.Series(0).Title = "Your Title"
The series index goes from 0 to number of series -1 in the order they are created.

Posted: Wed Dec 15, 2004 9:44 am
by 6919081
Thank you both very much. I have done it. :D