SetPointSerieCount(PointCount: Integer; SerieCount: Integer);
PointCount. Number of points on a graph.
SerieCount. Number of series on a graph.
The SetPointSerieCount method enables the user to set the number of series and points on the chart.
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.SetPointSerieCount(5, 2);
End Sub Button1OnClick;
After executing the example the chart contains 5 points and 2 data series.
See also: