Platforms to show: All Mac Windows Linux Cross-Platform
Back to CDTrendLayerMBS class.
CDTrendLayerMBS.addConfidenceBand(confidence as Double, upperFillColor as color, upperEdgeColor as color, upperLineWidth as Integer, lowerFillColor as color, lowerEdgeColor as color, lowerLineWidth as Integer = -1)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
Some examples using this method:
CDTrendLayerMBS.addConfidenceBand(confidence as Double, upperFillColor as Integer, upperEdgeColor as Integer = &hFF000000, upperLineWidth as Integer = -1, lowerFillColor as Integer = -1, lowerEdgeColor as Integer = -1, lowerLineWidth as Integer = -1)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please refer to the description of TrendLayer on what is a confidence band.
Argument | Default | Description |
confidence | (Mandatory) | The confidence level - must be between 0 - 1. |
upperFillColor | (Mandatory) | The fill color for the upper side of the confidence band (the portion that is above the regression line). |
upperEdgeColor | Transparent | The border color for the upper side of the confidence band (the portion that is above the regression line). |
upperLineWidth | 1 | The border width for the upper side of the confidence band (the portion that is above the regression line). |
lowerFillColor | -1 | The fill color for the lower side of the confidence band (the portion that is below the regression line). -1 means the color is the same as upperFillColor. |
lowerEdgeColor | -1 | The border color for the lower side of the confidence band (the portion that is below the regression line). -1 means the color is the same as upperEdgeColor. |
lowerLineWidth | -1 | The border width for the lower side of the confidence band (the portion that is below the regression line). -1 means the color is the same as upperLineWidth. |
See also:
CDTrendLayerMBS.addPredictionBand(confidence as Double, upperFillColor as color, upperEdgeColor as color, upperLineWidth as Integer, lowerFillColor as color, lowerEdgeColor as color, lowerLineWidth as Integer = -1)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
Some examples using this method:
CDTrendLayerMBS.addPredictionBand(confidence as Double, upperFillColor as Integer, upperEdgeColor as Integer = &hFF000000, upperLineWidth as Integer = -1, lowerFillColor as Integer = -1, lowerEdgeColor as Integer = -1, lowerLineWidth as Integer = -1)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please refer to the description of TrendLayer on what is a prediction band.
Argument | Default | Description |
confidence | (Mandatory) | The confidence level - must be between 0 - 1. |
upperFillColor | (Mandatory) | The fill color for the upper side of the prediction band (the portion that is above the regression line). |
upperEdgeColor | Transparent | The border color for the upper side of the prediction band (the portion that is above the regression line). |
upperLineWidth | 1 | The border width for the upper side of the prediction band (the portion that is above the regression line). |
lowerFillColor | -1 | The fill color for the lower side of the prediction band (the portion that is below the regression line). -1 means the color is the same as upperFillColor. |
lowerEdgeColor | -1 | The border color for the lower side of the prediction band (the portion that is below the regression line). -1 means the color is the same as upperEdgeColor. |
lowerLineWidth | -1 | The border width for the lower side of the prediction band (the portion that is below the regression line). -1 means the color is the same as upperLineWidth. |
See also:
CDTrendLayerMBS.getCoefficient(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 9.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The coefficients depend on the regression type. They are indexed as a0, a1, a2, ... in the regression type table published on TrendLayer.
CDTrendLayerMBS.getCorrelation as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
CDTrendLayerMBS.getIntercept as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
CDTrendLayerMBS.getLine as CDLineObjMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CDTrendLayerMBS.getSlope as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
CDTrendLayerMBS.getStdError as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
CDTrendLayerMBS.setImageMapWidth(w as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For thin lines, it is hard to click on the lines. So for the purpose of producing image maps for a line chart, ChartDirector can assume the line is very thick. The default is 10 pixels.
Argument | Default | Description |
width | (Mandatory) | The effective width of the line used for producing image maps. |
CDTrendLayerMBS.setRegressionType(regressionType as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 9.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
RegressionType:
Must be one of the constants kLinearRegression, kConstrainedLinearRegression, kExponentialRegression and kLogarithmicRegression, or the return value of BaseChartMBS.PolynomialRegression. They represent linear regression, constrained linear regression, exponential regression, logarithmic regression, and polynomial regression of configurable degree.
Some examples using this method:
The items on this page are in the following plugins: MBS ChartDirector Plugin.
![The biggest plugin in space...](https://www.monkeybreadsoftware.de/images/xojoplugin.png)