ChartDirector 6.0 (C++ Edition)

RanSeries.getSeries2


Usage

DoubleArray getSeries(int len, double startValue, double minDelta, double maxDelta, double lowerLimit = -1E+308, double upperLimit = 1E+308);

Description

Gets an array of numbers in which the difference between adjacent numbers is random.

Arguments

ArgumentDefaultDescription
len(Mandatory)The number of random values to get.
startValue(Mandatory)The first value in the sequence.
minDelta(Mandatory)The minimum change between two consecutive numbers.
maxDelta(Mandatory)The maximum change between two consecutive numbers.
lowerLimit[-Infinity]The minimum allowed value of the numbers.
upperLimit[+Infinity]The maximum allowed value of the numbers.

Return Value

An array of numbers in which the difference between adjacent numbers is random.