series naming
series naming
Can I change the default series name. e.g. change series1 to RtEyeVel
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:
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:
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(...);
Code: Select all
Series1.Title := 'RtEyeVel';
Marjan Slatinek,
http://www.steema.com
http://www.steema.com