ChartDirector 7.1 (.NET Edition)

Chart.PolynomialRegression


Usage

[C#]public static int PolynomialRegression(int n);
[VB]Public Shared Function PolynomialRegression(n As Integer) As Integer

Description

Sets the degree of the polynomial regression to be used in a trend layer.

This method is used to specify the polynomial regression type in TrendLayer.setRegressionType.

Arguments

ArgumentDefaultDescription
n(Mandatory)The degree of the polynomial.

Return Value

An integer representing a polynomial regression of degree n to be used as an argument to TrendLayer.setRegressionType.