ChartDirector 5.1 (PHP Edition)
TrendLayer.setRegressionType
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
regressionType | (Mandatory) | Must be one of the constants LinearRegression, ConstrainedLinearRegression, ExponentialRegression and LogarithmicRegression, or the return value of PolynomialRegression. They represent linear regression, constrained linear regression, exponential regression, logarithmic regression, and polynomial regression of configurable degree. |
Return Value