IChartSeries.Move

Syntax

Move(IndexFrom: Integer; IndexTo: Integer);

Parameters

IndexFrom: Index of position of the moved series

IndexTo - index of a position, where a series will 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 this example changes position of the series on the chart.

See also:

IChartSeries