Page 1 of 1

Loading template from tee-File

Posted: Mon Jul 16, 2007 2:22 pm
by 10546060
Hi,

i want to load a saved template (LoadchartfromFile) and use it for a chart with values that differ from the values of the chart the template was safed from.

The loading works fine, but the number of series is fixed (here at 2 Series). I might have more or less then 2 series in the chart i want to apply the template to. I want to keep the series settings/type of the template. Is there a simple way to add series with the same settings/type as already existing series? Or did i miss something in the concept of importing templates?

Regards, Timo

Posted: Mon Jul 16, 2007 7:08 pm
by 9047589
I'm not sure of complete understanding your question, maybe TChartSeries.AssignFormat helps?

Posted: Mon Jul 16, 2007 7:33 pm
by 9047589
Or CloneChartSeries function?

Posted: Tue Jul 17, 2007 9:00 am
by 10546060
Thank you for the reply!

CloneChartSeries helped me.