Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDRanTableMBS class.

CDRanTableMBS.Constructor(seed as Integer, noOfCols as Integer, noOfRows as Integer)

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

ArgumentDefaultDescription
seed(Mandatory)The seed to be used in the random number generator.
noOfCols(Mandatory)The number of columns in the random number table.
noOfRows(Mandatory)The number of rows in the random number table.

CDRanTableMBS.getCol(colNo as Integer) as CDArrayMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets the request column as an array of numbers.

ArgumentDefaultDescription
i(Mandatory)The column to get. The first column is 0. The nth column is (n - 1).
Return Value
An array containing numbers from the requested column.

Some examples using this method:

CDRanTableMBS.selectDate(colNo as Integer, minDate as Double, maxDate as Double) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Selects the rows within a certain date range.

After executing this method, the RanTable will be reduced to only contain rows that are within minDate and maxDate (inclusive of both dates).
ArgumentDefaultDescription
colNo(Mandatory)The date column to be used as selection criteria.
minDate(Mandatory)The minimum date (earliest date).
maxDate(Mandatory)The maximum date (latest date).

CDRanTableMBS.setCol(colNo as Integer, minValue as Double, maxValue as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill the given column in the RanTable with random numbers in the given range.

ArgumentDefaultDescription
colNo(Mandatory)The column to fill. The first column is 0. The nth column is (n - 1).
minValue(Mandatory)The minimum value of the random number.
maxValue(Mandatory)The maximum value of the random number.

See also:

CDRanTableMBS.setCol(colNo as Integer, startValue as Double, minDelta as Double, maxDelta as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill the given column in the RanTable with random numbers that fluctuates within a given speed.

ArgumentDefaultDescription
colNo(Mandatory)The column to fill. The first column is 0. The nth column is (n - 1).
startValue(Mandatory)The value of the first record in the column.
minDelta(Mandatory)The minimum change allowed for between the current random number and the previous random number. This parameter is usually negative.
maxDelta(Mandatory)The maximum change allowed for between the current random number and the previous random number.
lowerLimit[-Infinity]The minimum value of the random number.
upperLimit[+Infinity]The maximum value of the random number.

See also:

CDRanTableMBS.setCol(colNo as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill the given column in the RanTable with random numbers that fluctuates within a given speed.

ArgumentDefaultDescription
colNo(Mandatory)The column to fill. The first column is 0. The nth column is (n - 1).
startValue(Mandatory)The value of the first record in the column.
minDelta(Mandatory)The minimum change allowed for between the current random number and the previous random number. This parameter is usually negative.
maxDelta(Mandatory)The maximum change allowed for between the current random number and the previous random number.
lowerLimit[-Infinity]The minimum value of the random number.
upperLimit[+Infinity]The maximum value of the random number.

See also:

CDRanTableMBS.setCol(colNo as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double, upperLimit as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill the given column in the RanTable with random numbers that fluctuates within a given speed.

ArgumentDefaultDescription
colNo(Mandatory)The column to fill. The first column is 0. The nth column is (n - 1).
startValue(Mandatory)The value of the first record in the column.
minDelta(Mandatory)The minimum change allowed for between the current random number and the previous random number. This parameter is usually negative.
maxDelta(Mandatory)The maximum change allowed for between the current random number and the previous random number.
lowerLimit[-Infinity]The minimum value of the random number.
upperLimit[+Infinity]The maximum value of the random number.

See also:

CDRanTableMBS.setDateCol(i as Integer, startTime as Double, tickInc as Double, weekDayOnly as boolean=false)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill the given column in the RanTable with a date/time series.

ArgumentDefaultDescription
i(Mandatory)The column to fill. The first column is 0. The nth column is (n - 1).
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.

Some examples using this method:

CDRanTableMBS.setHLOCCols(i as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double = 0.0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill 4 columns in the RanTable with random high, low, open and close records.

The 4 columns will meet the constraints that for each record, the high value will be greater than or equal to the low value, and both the open and close values will be in between the high and low values.
ArgumentDefaultDescription
i(Mandatory)The column number of the "high" column. The next column will be assumed to be "low", followed by "open" and "close". The column number starts at 0. The first column is 0. The nth column is (n - 1).
startValue(Mandatory)The initial "open" value.
minDelta(Mandatory)The minimum change allowed for between the current "open" and the previous "close" value, as well as between the current "close" value and the current "open" value. This parameter is usually negative.
maxDelta(Mandatory)The maximum change allowed for between the current "open" and the previous "close" value, as well as between the current "close" value and the current "open" value.
lowerLimit0The minimum value for "high", "low", "open" and "close".
upperLimit[+Infinity]The maximum value for "high", "low", "open" and "close".

See also:

Some examples using this method:

CDRanTableMBS.setHLOCCols(i as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double, upperLimit as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Fill 4 columns in the RanTable with random high, low, open and close records.

The 4 columns will meet the constraints that for each record, the high value will be greater than or equal to the low value, and both the open and close values will be in between the high and low values.
ArgumentDefaultDescription
i(Mandatory)The column number of the "high" column. The next column will be assumed to be "low", followed by "open" and "close". The column number starts at 0. The first column is 0. The nth column is (n - 1).
startValue(Mandatory)The initial "open" value.
minDelta(Mandatory)The minimum change allowed for between the current "open" and the previous "close" value, as well as between the current "close" value and the current "open" value. This parameter is usually negative.
maxDelta(Mandatory)The maximum change allowed for between the current "open" and the previous "close" value, as well as between the current "close" value and the current "open" value.
lowerLimit0The minimum value for "high", "low", "open" and "close".
upperLimit[+Infinity]The maximum value for "high", "low", "open" and "close".

See also:

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


The biggest plugin in space...