ChartDirector 7.0 (Java Edition)

RanSeries.getSeries2


Usage

public double[] getSeries2(int len, double startValue, double minDelta, double maxDelta [, double lowerLimit [, double 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.