IChartAxisLevelLine.Value

Syntax

Value: Double;

Description

The Value property determines a level line value.

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;

LevelLine: IChartAxisLevelLine;

Begin

Chart := PrxReport.ActiveReport.ActiveSheet.Table.Objects.Item(0).Extension As IChart;

LevelLine := Chart.AxisY.LevelLines.Item(0);

LevelLine.Value := 25.0;

PrxReport.ActiveReport.ActiveSheet.Recalc;

End Sub Custom;

After executing the example the value of the first level line displayed on the chart is equal to 25.0:

See also:

IChartAxisLevelLine