BackgroundInfo: IChartBackgroundInfo;
The BackgroundInfo property determines fill properties.
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( 255, 245, 120, 255);
End Sub Color;
After executing the example the chart area is filled with solid lilac color.
See also: