ChartArea: IChartArea;
The ChartArea property enables the user to determine chart area parameters.
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 color.
See also: