IChartCommonItem.BackgroundInfo

Syntax

BackgroundInfo: IChartBackgroundInfo;

Description

The BackgroundInfo property determines fill properties.

Example

Consider an example of applying a fill for the chart area. This example assumes that there is the Chart object of the IChart type.

Sub Color;
Var
    Chart: IChart;
Begin
    Chart.ChartArea.BackgroundInfo.Type := ChartBackgroundType.Color;
    Chart.ChartArea.BackgroundInfo.Color := New GxColor.CreateARGB( 255245120255);
End Sub Color;

After executing the example the chart area is filled with solid lilac color.

See also:

IChartCommonItem