ChartDirector 7.1 (.NET Edition)

TrendLayer.setRegressionType


Usage

[C#]public void setRegressionType(int regressionType);
[VB]Public Sub setRegressionType(regressionType As Integer)

Description

Sets the regression type to be used.

Please refer to the description of TrendLayer for the supported regression types.

Arguments

ArgumentDefaultDescription
regressionType(Mandatory)Must be one of the constants LinearRegression, ConstrainedLinearRegression, ExponentialRegression and LogarithmicRegression, or the return value of Chart.PolynomialRegression. They represent linear regression, constrained linear regression, exponential regression, logarithmic regression, and polynomial regression of configurable degree.

Return Value

None