ChartDirector 5.1 (.NET Edition)

TrendLayer.setRegressionType


Usage

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

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