Page 1 of 1

Chart Editor

Posted: Mon Nov 06, 2006 4:46 pm
by 9242408
Hi,

On the chart editor where you can set the series info, can I set those series names to existing names I have? That way the end user could just check what series they want to use for that chart?

Thanks,

Tom

Posted: Mon Nov 06, 2006 5:10 pm
by narcis
Hi Tom,

Yes, you can do this:

Code: Select all

  Series1.Title:='MySeriesName';
or for all the series in the chart:

Code: Select all

  for i:=0 to Chart1.SeriesCount-1 do
    Chart1[i].Title := 'My Series ' + IntToStr(i+1);