Copies all properties from a Series component to another.
public Void Assign(Aspect a)

Remarks


The Assign method copies all properties from a Series component to another.
Only the common properties shared by both source and destination Series are copied.

The following code copies all properties from Series2 into Series1:

tChart1.Series[0].Assign(tChart1.Series[1]);


Some Series types restore property values after assigning them. For example, Points Series
restores the Pointer.Visible property to True after being assigned to a Line Series, which has
Pointers invisible by default.

Note: Series events are not assigned.  Series DataSource and FunctionType properties are
assigned.  Assign is used by CloneChartSeries and ChangeSeriesType methods for example.

See Also

Aspect Class | Aspect Members | Steema.TeeChart.Drawing Namespace