IChartCommonItem.Rectangle

Syntax

Rectangle: IGxRectF;

Description

The Rectangle property determines coordinates and size of a chart element.

Example

This example assumes that there is the GraphArea object of the IGraphArea type.

Sub Rectangle;

Var

GraphArea: IGraphArea;

Rect : IGxRectF;

Begin

Rect := New GxRectF.Create(10,5,70,50);

GraphArea.Rectangle := Rect;

End Sub Rectangle;

After executing the example plot area of the chart is positioned in accordance with the specified position.

See also:

IChartCommonItem