ChartDirector 7.1 (C++ Edition)
RanSeries.get2DSeries
Usage
DoubleArray get2DSeries(int xLen, int yLen, double minValue, double maxValue);
Description
Gets an array of random numbers representing points on a 2D grid in which the difference between neighbouring points is random.
Arguments
Argument | Default | Description |
xLen | (Mandatory) | The number of points in the grid in the x direction. |
yLen | (Mandatory) | The number of points in the grid in the y direction. |
minValue | (Mandatory) | The minimum value of the random number. |
maxValue | (Mandatory) | The maximum value of the random number. |
Return Value
An array of random numbers representing points on a 2D grid in which the difference between neighbouring points is random. The array will contain (xLen * yLen) elements. The element at index (y * xLen + x) represents the point at (x, y), in which x and y are integers such that 0 <= x < xLen and 0 <= y < yLen.
© 2023 Advanced Software Engineering Limited. All rights reserved.