IChartSeries.Move

Syntax

Move(IndexFrom: Integer; IndexTo: Integer);

Parameters

IndexFrom - index of position of the moved series.

IndexTo - index of the position, to which a series must be moved.

Description

The Move method is used to change a series index, that is, the method changes the order of series in a list.

Example

This example assumes that there is the Chart object of the IChart type.

Sub User;

Var

Chart: IChart;

Begin

Chart.Series.Move(0,1);

End Sub User;

Executing the example changes position of the series on the chart.

See also:

IChartSeries