IChartBackgroundInfo.Image

Syntax

Image: IGxImage;

Description

The Image property enables the user to determine an image to be used as a fill.

Example

This example assumes that there is the Chart object of the IChart type.

Sub Image;

Var

Chart : IChar;

d : IGxImage;

Begin

Chart.ChartArea.BackgroundInfo.Type := ChartBackGroundType.Picture;

d := New GxImage.CreateFromFile("c:\1.jpg");

Chart.ChartArea.BackgroundInfo.Image := d;

End Sub Image;

After executing the example the specified image is located in the chart area.

See also:

IChartBackgroundInfo | IChartBackgroundInfo.Type