ChartDirector 7.0 (ASP/COM/VB Edition)
RanSeries.get2DSeries
Usage
get2DSeries(xLen, yLen, minValue, 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.
© 2021 Advanced Software Engineering Limited. All rights reserved.