IChart.ChartArea

Syntax

ChartArea: IChartArea;

Description

The ChartArea property enables a user to determine parameters of a chart area.

Comments

Use the IChartArea interface to work with available parameters.

Example

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:

IChart