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 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.

Fore 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.

Fore.NET Example

To execute the example place the button1 button, the UiChartNet component named UiChartNet1 and the ChartBoxNet component named ChartBoxNet1 on the .NET form. 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