ChartDirector 7.1 (.NET Edition)

RanSeries.getSeries2


Usage

[C#]public double[] getSeries2(int len, double startValue, double minDelta, double maxDelta [, double lowerLimit [, double upperLimit ]]);
[VB]Public Function getSeries2(len As Integer, startValue As Double, minDelta As Double, maxDelta As Double [, lowerLimit As Double [, upperLimit As Double ]]) As Double()

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.