Loading template from tee-File

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

Loading template from tee-File

Post by Timo » Mon Jul 16, 2007 2:22 pm

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

xxxxxx
Advanced
Posts: 128
Joined: Tue Jun 19, 2007 12:00 am
Location: Russia
Contact:

Post by xxxxxx » Mon Jul 16, 2007 7:08 pm

I'm not sure of complete understanding your question, maybe TChartSeries.AssignFormat helps?

xxxxxx
Advanced
Posts: 128
Joined: Tue Jun 19, 2007 12:00 am
Location: Russia
Contact:

Post by xxxxxx » Mon Jul 16, 2007 7:33 pm

Or CloneChartSeries function?

Timo
Newbie
Newbie
Posts: 12
Joined: Wed Jul 11, 2007 12:00 am
Contact:

Post by Timo » Tue Jul 17, 2007 9:00 am

Thank you for the reply!

CloneChartSeries helped me.

Post Reply