IUiChart.SetPointSerieCount

Syntax

SetPointSerieCount(PointCount: Integer; SerieCount: Integer);

Parameters

PointCount. Number of points on a graph.

SerieCount. Number of series on a graph.

Description

The SetPointSerieCount method enables the user to set the number of series and points on 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);
Begin
    UiChart1.SetPointSerieCount(52);
End Sub Button1OnClick;

After executing the example the chart contains 5 points and 2 data series.

See also:

IUiChart | IUiChart.PointCount | IUiChart.SerieCount