IChartAxisLevelLine.Index

Syntax

Index: Integer;

Description

The property is read-only.

The Index property returns index of a level line.

Example

This unit is connected to the regular report, which sheet contains a chart. The chart must contain level lines.

Sub Custom;
Var
    Chart: IChart;
    LevelLines: IChartAxisLevelLine;
    i: Integer;
Begin
    Chart := PrxReport.ActiveReport.ActiveSheet.Table.Objects.Item(0).Extension As IChart;
    LevelLines := Chart.AxisY.LevelLines.Item(0);
    i := LevelLines.Index;
End Sub Custom;

After executing the example the i variable stores level line index.

See also:

IChartAxisLevelLines