ChartDirector 7.1 (.NET Edition)

TrendLayer.getCoefficient


Usage

[C#]public double getCoefficient(int i);
[VB]Public Function getCoefficient(i As Integer) As Double

Description

Gets the coefficients of the regression function.

The coefficients depend on the regression type. They are indexed as a0, a1, a2, ... in the regression type table published on TrendLayer.

Arguments

ArgumentDefaultDescription
i(Mandatory)The index of the coefficient to get.

Return Value

The coefficient ai in the regression function.