ChartDirector 7.1 (C++ Edition)

RanSeries.fillSeries2


Usage

void fillSeries(double* ret, int len, double startValue, double minDelta, double maxDelta, double lowerLimit = -1E+308, double upperLimit = 1E+308);

Description

Fill an array with numbers in which the difference between adjacent numbers is random.

Arguments

ArgumentDefaultDescription
ret(Mandatory)The array to be filled.
len(Mandatory)The number of random values to generate.
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

None