IChartAxisLevelLine.InterlineColor

Syntax

InterlineColor: IGxColor;

Description

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

Example

Executing this example requires a form, a button named Button1 located on this form, the ChartBox and UiChart components and the UiErAnalyzer component named UiErAnalyzer1 that is used as the 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