ChartDirector 5.1 (.NET Edition)

TrendLayer.getCoefficient


Usage

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

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.