AssignSeries

AssignSeries procedure

procedure AssignSeries(Var OldSeries, NewSeries: TChartSeries);

Unit
Chart

Description
Global procedure.

The AssignSeries method copies all properties and event handlers from OldSeries to NewSeries, then removes OldSeries and finally adds NewSeries to the Chart.

Data point values are not assigned, but as DataSource property is copied, NewSeries
obtains points from DataSource.

This method is used internally when changing a Series type to assign old properties
to new Series type instance.