IUiChart.Chart

Syntax

Chart: IChart;

Description

The Chart property returns the object of the IChart type, which includes the element of the chart.

Example

To execute the example, place the Button1 button, the UiChart component named UiChart1 and the ChartBox component named ChartBox1 on the form. Add a link to the Chart system assembly.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    ChartProp: IChart;
Begin
    ChartProp := UiChart1.Chart;
    ChartProp.DisplayLegend := True;
    ChartProp.Orientation := ChartOrientation.LeftToRight;
    ChartProp.DisplayVolume3D := True;
End Sub Button1OnClick;

After executing the example a 3D chart oriented from left to right with legend is displayed.

See also:

IUiChart