ChartDirector 6.0 (Perl Edition)

RanSeries.getSeries2


Usage

getSeries2(len, startValue, minDelta, maxDelta [, lowerLimit [, upperLimit ]])

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.