IChartSource.GetChart

Syntax

GetChart: IChart;

Description

The GetChart method gets a chart.

Example

This example assumes that there is the Cb object of the ChartBox type.

Sub User;

Var

Cb : ChartBox;

CS : IChartSource;

Chart : IChart;

Begin

CS := Cb.Source;

Chart := CS.GetChart As IChart;

Chart.Type := ChartType.Lines;

Chart.Orientation := ChartOrientation.UpToDown;

End Sub User;

Executing the example changes chart parameters.

See also:

IChartSource