GetChart: IChart;
The GetChart method gets a chart.
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: