LevelLines: IChartAxisLevelLines;
The LevelLines property determines parameters of level line on a chart.
To work with available parameters, use the IChartAxisLevelLines interface.
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: