Page 1 of 1

How to user ChartEditor to edit the data

Posted: Thu Mar 26, 2009 11:33 am
by 10045871
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

Posted: Thu Mar 26, 2009 11:47 am
by yeray
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?