IUiChart.SetPointSerieCount

Fore Syntax

SetPointSerieCount(PointCount: Integer; SerieCount: Integer);

Fore.NET Syntax

SetPointSerieCount(PointCount: System.Int32, SerieCount: System.Int32);

Parameters

PointCount. Number of points on the line.

SerieCount. Number of series on the line.

Description

The SetPointSerieCount method allows to set the number of series and points on the chart.

Fore Example

To execute the example on the form place the button with Button1 name, the UiChart component with UiChart1 name and the ChartBox component with ChartBox1 name. Add reference to 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.

Fore.NET Example

To execute the example on .NET form place the button with button1 name, the UiChartNet component with UiChartNet1 name and the ChartBoxNet component with ChartBoxNet1 name. Add links to the Chart and Forms system assemblies.

Imports Prognoz.Platform.Interop.Chart;
Imports Prognoz.Platform.Interop.Forms;
...
Private Sub button2_Click(sender: System.Object; e: System.EventArgs);
Begin
    UiChartNet1.SetPointSerieCount(52);
End Sub;>

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

See also:

IUiChart | IUiChart.PointCount | IUiChart.SerieCount