LoadChartFromFile procedure procedure LoadChartFromFile(Var AChart:
TCustomChart; Const AFileName: String);
Unit
TeeStore
Description
This method
will import the TeeChart 'tee' template Chart from the specified File
Name, applying all properties of the template to the Chart.
Tee templates are an efficient way to save and load runtime Chart appearance and may be saved at runtime using the TChart SaveChartToFile.
Optionally, Tee templates can contain Series data values.
The usage of this procedure obligues to cast the Chart parameter, to return the correct new pointer address:
Uses TeeStore;
LoadChartFromFile( TCustomChart( Chart1 ), 'mychart.tee' );
|