Changing series type at runtime

TeeChart for ActiveX, COM and ASP
Post Reply
mjwilliamson
Newbie
Newbie
Posts: 4
Joined: Mon May 05, 2003 4:00 am

Changing series type at runtime

Post by mjwilliamson » Fri Feb 04, 2005 12:39 pm

Hi

I want to change the type of a series at run time with code
not the the editor. Is this possible, can you point me
in the right direction?

Thanks
Mark

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 Feb 07, 2005 9:01 am

Hi Mark,

Yes, you can use the ChangeSeriesType method as below

Code: Select all

TChart1.ChangeSeriesType 0, scLine
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