How to user ChartEditor to edit the data

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Sciensoria
Newbie
Newbie
Posts: 20
Joined: Tue Jul 03, 2007 12:00 am
Contact:

How to user ChartEditor to edit the data

Post by Sciensoria » Thu Mar 26, 2009 11:33 am

I want to edit the data of the curves within a TChart by ChartEditor, but don't know how to do it in runtime. In addition, I have 4 TChart in my application. How to link the ChartEditor to the right TChart ?
(The curves (TLineSeries) are also created in runtime)

Thank you in advance

Patrick

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Mar 26, 2009 11:47 am

Hi Patrick,

You can use the same editor for one chart or for another one like follows:

Code: Select all

  ChartEditor1.Chart := Chart1;
  ChartEditor1.Execute;

  //...

  ChartEditor1.Chart := Chart2;
  ChartEditor1.Execute;
Was that what you were looking for?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply