IChartCorridor.SerieIndex2

Syntax

SerieIndex2: Integer;

Description

The SerieIndex2 property determines index of the second corridor series.

Example

Executing the example requires a regular report sheet with a line chart on it. The chart must contain more than two series.

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, 1);

Corridor.Item(IdC).SerieIndex2 := 2;

End Sub Cor;

After executing the example a new corridor is added between the first and the second series. Then the second corridor series is changed from the first to the third chart series.

See also:

IChartCorridor