Type: ChartType;
The Type property determines a chart type.
The default type of the chart is a histogram.
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);
Begin
UiChart1.Type := ChartType.Lines;
UiChart1.Style := ChartStyle.Relative;
UiChart1.Orientation := ChartOrientation.LeftToRight;
UiChart1.PointCount := 5;
UiChart1.SerieCount := 10;
UiChart1.DisplayVolume3D := True;
UiChart1.DisplaySecondaryAxis := False;
UiChart1.DisplayLegend := True;
UiChart1.ComponentCount;
End Sub Button1OnClick;
After executing the example the following settings are determined for the chart:
Chart type is line.
Chart scale type is relative.
Left to right orientation.
Number of points is five.
Number of series is ten.
Chart structure is 3D.
Secondary axis is not displayed.
Chart is displayed with a legend.
See also: