IChartAxisLevelLine.DrawUnderSeries

Syntax

DrawUnderSeries: Boolean;

Description

The DrawUnderSeries property determines position of a level line. If the property value is true the level line is drawn under data series. If this property is set to False the level line is displayed above data series.

Default property value is False.

Example

This unit is to be connected to the regular report a sheet of which contains the chart. The chart should display level lines.

Sub Custom;

Var

Chart: IChart;

Begin

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

Chart.AxisY.LevelLines.Item(0).DrawUnderSeries := True;

PrxReport.ActiveReport.ActiveSheet.Recalc;

End Sub Custom;

After executing the example the level line on the chart is displayed under data series.

See below examples of a level drawn above data series (top) and a level drawn under data series (under):

See also:

IChartAxisLevelLine