Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

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 Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 11.1 Yes Yes Yes Yes No
Function: Same as the other addConfidenceBand method, but uses color instead of integer data type for passing color values.

See also:

Feedback, Comments & Corrections

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 Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 8.2 Yes Yes Yes Yes No
Function: Adds a confidence band to the trend layer.
Notes:
Please refer to the description of TrendLayer on what is a confidence band.
ArgumentDefaultDescription
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).
upperEdgeColorTransparentThe border color for the upper side of the confidence band (the portion that is above the regression line).
upperLineWidth1The border width for the upper side of the confidence band (the portion that is above the regression line).
lowerFillColor-1The 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-1The 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-1The 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:

Feedback, Comments & Corrections

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 Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 11.1 Yes Yes Yes Yes No
Function: Same as the other addPredictionBand method, but uses color instead of integer data type for passing color values.

See also:

Feedback, Comments & Corrections

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 Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 8.2 Yes Yes Yes Yes No
Function: Adds a prediction band to the trend layer.
Notes:
Please refer to the description of TrendLayer on what is a prediction band.
ArgumentDefaultDescription
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).
upperEdgeColorTransparentThe border color for the upper side of the prediction band (the portion that is above the regression line).
upperLineWidth1The border width for the upper side of the prediction band (the portion that is above the regression line).
lowerFillColor-1The 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-1The 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-1The 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:

Feedback, Comments & Corrections

CDTrendLayerMBS.getCoefficient(index as Integer) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 9.2 Yes Yes Yes Yes No
Function: Gets the coefficients of the regression function.
Notes: The coefficients depend on the regression type. They are indexed as a0, a1, a2, ... in the regression type table published on TrendLayer.

Feedback, Comments & Corrections

CDTrendLayerMBS.getCorrelation as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 8.2 Yes Yes Yes Yes No
Function: Gets the correlation coefficient of the trend line.

Feedback, Comments & Corrections

CDTrendLayerMBS.getIntercept as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 8.2 Yes Yes Yes Yes No
Function: Gets the y-axis intercept of the trend line.

Feedback, Comments & Corrections

CDTrendLayerMBS.getLine as CDLineObjMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 8.2 Yes Yes Yes Yes No
Function: Retrieves an opaque LineObj representing the trend line. The opaque LineObj is to be used in XYChart.addInterLineLayer for adding coloring between lines.

Feedback, Comments & Corrections

CDTrendLayerMBS.getSlope as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 8.2 Yes Yes Yes Yes No
Function: Gets the slope of the trend line.

Feedback, Comments & Corrections

CDTrendLayerMBS.getStdError as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 8.2 Yes Yes Yes Yes No
Function: Gets the standard error of the trend line.

Feedback, Comments & Corrections

CDTrendLayerMBS.setImageMapWidth(w as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 8.2 Yes Yes Yes Yes No
Function: Sets the effective width of the line used for producing image maps.
Notes:
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.
ArgumentDefaultDescription
width(Mandatory)The effective width of the line used for producing image maps.

Feedback, Comments & Corrections

CDTrendLayerMBS.setRegressionType(regressionType as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ChartDirector MBS ChartDirector Plugin 9.2 Yes Yes Yes Yes No
Function: Sets the regression type to be used.
Notes:
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.

Feedback, Comments & Corrections

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




Links
MBS FileMaker tutorial videos