ChartDirector 7.0 (Python Edition)

TrendLayer.setRegressionType


Usage

setRegressionType(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 pychartdir.PolynomialRegression. They represent linear regression, constrained linear regression, exponential regression, logarithmic regression, and polynomial regression of configurable degree.

Return Value

None