Move(IndexFrom: Integer; IndexTo: Integer);
IndexFrom: Index of position of the moved series
IndexTo - index of a position, where a series will be moved.
The Move method is used to change a series index, that is the method changes the order of series in a list.
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: