Page 1 of 1

series naming

Posted: Fri Dec 19, 2003 4:52 pm
by 8442280
Can I change the default series name. e.g. change series1 to RtEyeVel

Posted: Sun Dec 21, 2003 9:23 am
by Marjan
Hi.

Yes, but only if you add series at design time (the Name property in the Oject Inspector). At runtime you could do something like this:

Code: Select all

var RtEyeVel: TLineSeries;
begin
  rtEyeVel = Series1;
  
  rtEyeVel.AddXY(...);
On the other hand, if you simply want to change series Title property (this shows up in legend), then you can use the following code:

Code: Select all

Series1.Title := 'RtEyeVel';