SerieIndex1: Integer;
The SerieIndex1 property determines index of the first corridor series.
To execute this example, there should be a regular report sheet with a bar chart on it. There should be more than two series in a chart.
Sub Cor;
Var
C: IChart;
Corridor: IChartCorridors;
IdC: Integer;
Begin
C := (PrxReport.ActiveReport.ActiveSheet.Table.Objects.Item(0).Extension As IChart);
Corridor := C.Corridors;
IdC := Corridor.Add(0, 2);
Corridor.Item(IdC).SerieIndex1 := 1;
End Sub Cor;
After executing the example a new corridor is added between the first and the third series. Then the first corridor series will be changed from the first to the second chart series.
See also: