Cloning a chart
Posted: Tue Aug 08, 2006 12:08 pm
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
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