TChartSeries.Assign
TChartSeries
procedure Assign(Source: TPersistent); override;
Unit
TeEngine
Description
Copies all properties from Source Series to Self.
This method does not copy the Series point values.
Only the common properties shared by both source and destination Series are copied.
The following code copies all properties from Series2 into Series1:
Series1.Assign( Series2 ) ;
Some Series types restore property values after assigning them. For example, TPointSeries restores the Pointer.Visible property to True after being assigned to a TLineSeries, which has Pointers invisible by default.
Note:
Series events are not assigned.
Series TChartSeries.DataSource and TChartSeries.FunctionType properties are assigned.
The Assign method is internally used by CloneChartSeries and ChangeSeriesType methods.