Chart Editor

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
tbonejo
Newbie
Newbie
Posts: 73
Joined: Wed Sep 06, 2006 12:00 am
Contact:

Chart Editor

Post by tbonejo » Mon Nov 06, 2006 4:46 pm

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
Tom

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 Nov 06, 2006 5:10 pm

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);
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