LevelLines: IChartAxisLevelLines;
The LevelLines property determines parameters of chart level line.
Use the IChartAxisLevelLines interface to work with available parameters.
This unit is connected to the regular report, which sheet contains a chart. The chart must have 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: