IChartAxisLevelLine.InterlineColor

Syntax

InterlineColor: IGxColor;

Description

The InterlineColor property determines a fill color of an area between two neighbor chart level lines. The area is filled only when the DrawUnderSeries property have the same value for both lines. When DrawUnderSeries = NULL, the area is not filled.  

Example

Executing the example requires a form, a button named Button1 on the form, the ChartBox and UiChart components and the UiErAnalyzer component named UiErAnalyzer1 that is used as a data source.

Class TESTForm: Form
    Button1: Button;
    UiChart1: UiChart;
    UiErAnalyzer1: UiErAnalyzer;
    ChartBox1: ChartBox;

    Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Var
        APen: IGxPen;
        col: IGxColor;
    Begin
        ChartBox1.Chart.AxisY.LevelLines.Add(4000, APen);
        ChartBox1.Chart.AxisY.LevelLines.Add(6000, APen);
        ChartBox1.Chart.AxisY.LevelLines.Item(0).InterlineColor := GxColor.FromName("Blue");
    End Sub Button1OnClick;

End Class TESTForm;

After executing the example the area between two neighbor levels is filled with blue:

See also:

IChartAxisLevelLine