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 |
Argument | Default | Description |
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 |
Argument | Default | Description |
i | (Mandatory) | The column to get. The first column is 0. The nth column is (n - 1). |
An array containing numbers from the requested column.
Some examples using this method:
- /ChartDirector/compactline
- /ChartDirector/curvefitting
- /ChartDirector/finance
- /ChartDirector/finance animated
- /ChartDirector/Finance Chart Track Line Retina
- /ChartDirector/finance pdf
- /ChartDirector/finance with ChartDirector Control
- /ChartDirector/finance2 animated
- /ChartDirector/rotatedline
- /ChartDirector/Tracking Cursor/Finance Chart Track Line
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 |
After executing this method, the RanTable will be reduced to only contain rows that are within minDate and maxDate (inclusive of both dates).
Argument | Default | Description |
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 |
Argument | Default | Description |
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:
- setCol(colNo as Integer, startValue as Double, minDelta as Double, maxDelta as Double)
- setCol(colNo as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double)
- setCol(colNo as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double, upperLimit as Double)
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 |
Argument | Default | Description |
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:
- setCol(colNo as Integer, minValue as Double, maxValue as Double)
- setCol(colNo as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double)
- setCol(colNo as Integer, startValue as Double, minDelta as Double, maxDelta as Double, lowerLimit as Double, upperLimit as Double)
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 |
Argument | Default | Description |
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 |
Argument | Default | Description |
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 |
Argument | Default | Description |
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. |
weekDayOnly | false | A true value means skipping dates that are not weekdays (Saturday and Sunday). A %F value means no skipping. |
Some examples using this method:
- /ChartDirector/finance
- /ChartDirector/finance animated
- /ChartDirector/Finance Chart Track Line Retina
- /ChartDirector/finance pdf
- /ChartDirector/finance with ChartDirector Control
- /ChartDirector/finance2
- /ChartDirector/finance2 animated
- /ChartDirector/rotatedline
- /ChartDirector/Tracking Cursor/Finance Chart Track Line
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 |
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.
Argument | Default | Description |
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. |
lowerLimit | 0 | The 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 |
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.
Argument | Default | Description |
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. |
lowerLimit | 0 | The 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.