Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDRanSeriesMBS class.

CDRanSeriesMBS.Constructor(seed as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a RanSeries object.

ArgumentDefaultDescription
seed(Mandatory)The seed to be used in the random number generator.

CDRanSeriesMBS.fillDateSeries(Values() as Double, startTime as double, tickInc as double, weekDayOnly as Boolean = false)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill an array with date/time values.

ArgumentDefaultDescription
ret(Mandatory)The array to be filled.
len(Mandatory)The number of values to generate.
startTime(Mandatory)The first date/time.
tickInc(Mandatory)The change in date/time for subsequent records in seconds. The value 30 * 86400 is assumed to mean 1 month (which is not a constant interval), and its multiplies are assumed to mean multiple months. In particular, the value 360 * 86400 is assumed to mean 12 months, or 1 year.
weekDayOnlyfalseA true value means skipping dates that are not weekdays (Saturday and Sunday). A false value means no skipping.

CDRanSeriesMBS.fillSeries(Values() as Double, minValue as double, maxValue as double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill an array with independent random numbers.

ArgumentDefaultDescription
ret(Mandatory)The array to be filled.
len(Mandatory)The number of random numbers to generate.
minValue(Mandatory)The minimum value of the random number.
maxValue(Mandatory)The maximum value of the random number.

See also:

CDRanSeriesMBS.fillSeries(Values() as Double, startValue as double, minDelta as double, maxDelta as double, lowerLimit as double = -1E+308, upperLimit as double = 1E+308)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill an array with numbers in which the difference between adjacent numbers is random.

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.

See also:

CDRanSeriesMBS.get2DSeries(xLen as Integer, yLen as Integer, minValue as Double, maxValue as Double) as Double()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 15.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets an array of random numbers representing points on a 2D grid in which the difference between neighbouring points is random.

ArgumentDefaultDescription
xLen(Mandatory)The number of points in the grid in the x direction.
yLen(Mandatory)The number of points in the grid in the y direction.
minValue(Mandatory)The minimum value of the random number.
maxValue(Mandatory)The maximum value of the random number.

Returns an array of random numbers representing points on a 2D grid in which the difference between neighbouring points is random. The array will contain (xLen * yLen) elements. The element at index (y * xLen + x) represents the point at (x, y), in which x and y are integers such that 0 <= x < xLen and 0 <= y < yLen.

Some examples using this method:

CDRanSeriesMBS.getDateSeries(len as Integer, startTime as Double, tickInc as Double, weekDayOnly as boolean = false) as Double()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets an array of date/time values.

ArgumentDefaultDescription
len(Mandatory)The number of random values to get.
startTime(Mandatory)The date/time of the first record in the column.
tickInc(Mandatory)The change in date/time for subsequent records in seconds. The value 30 * 86400 is assumed to mean 1 month (which is not a constant interval), and its multiplies are assumed to mean multiple months. In particular, the value 360 * 86400 is assumed to mean 12 months, or 1 year.
weekDayOnlyfalseA true value means skipping dates that are not weekdays (Saturday and Sunday). A %F value means no skipping.

Returns an array of date/time values.

Some examples using this method:

CDRanSeriesMBS.getSeries(len as Integer, minValue as Double, maxValue as Double) as Double()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets an array of numbers that fluctuate randomly.

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.

Returns an array of numbers that fluctuate randomly.

See also:

Some examples using this method:

CDRanSeriesMBS.getSeries(len as Integer, startValue as Double, minDelta as Double, maxDelta as Double) as Double()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets an array of numbers that fluctuate randomly.

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.

Returns an array of numbers that fluctuate randomly.

See also:

CDRanSeriesMBS.getSeries(len as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double) as Double()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets an array of numbers that fluctuate randomly.

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.

Returns an array of numbers that fluctuate randomly.

See also:

CDRanSeriesMBS.getSeries(len as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double, upperLimit as Double) as Double()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets an array of numbers that fluctuate randomly.

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.

Returns an array of numbers that fluctuate randomly.

See also:

The items on this page are in the following plugins: MBS ChartDirector Plugin.


The biggest plugin in space...