ChartArea: IChartArea;
The ChartArea property enables a user to determine parameters of a chart area.
Use the IChartArea interface to work with available parameters.
This example assumes that there is the Chart object of the IChart type.
Sub Area;
Var
Chart: IChart;
Begin
Chart.ChartArea.BackgroundInfo.Type := ChartBackgroundType.Color;
Chart.ChartArea.BackgroundInfo.Color := GXColor.FromName("Blue");
End Sub Area;
After executing the example the chart area is filled with solid blue fill.
See also: