Page 1 of 1

Cloning a chart

Posted: Tue Aug 08, 2006 12:08 pm
by 9231397
D6 Teechart 7.06
I've a Teechart on which I create several hundred Tlineseries at run time.

I'd like to clone the chart and series, and display chart-2 with say only a selection ofthe series visible.

I'm using---

for x:=0 to 600 do
begin
chartseries[x] := TLineSeries.Create(Chart);
Chart.AddSeries(chartseries[x]);

I've tried chart2.addseries(chartseries[x]); but that doesn't seem to work.

Any pointers appreciated.

thanks
Sean

Posted: Tue Aug 08, 2006 1:40 pm
by Pep
Hi Sean,

follow this link to see how to one Chart to another.