ChartDirector 7.1 (.NET Edition)

TrendLayer.addConfidenceBand


Usage

[C#]public void addConfidenceBand(double confidence, int upperFillColor [, int upperEdgeColor [, int upperLineWidth [, int lowerFillColor [, int lowerEdgeColor [, int lowerLineWidth ]]]]]);
[VB]Public Sub addConfidenceBand(confidence As Double, upperFillColor As Integer [, upperEdgeColor As Integer [, upperLineWidth As Integer [, lowerFillColor As Integer [, lowerEdgeColor As Integer [, lowerLineWidth As Integer ]]]]])

Description

Adds a confidence band to the trend layer.

Please refer to the description of TrendLayer on what is a confidence band.

Arguments

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.

Return Value

None