5.20231.904
wijmo.chart.analytics Enumeration TrendLineFitType Wijmo API Enumeration

TrendLineFitType Enumeration

Specifies the fit type for a TrendLine series.

Enumeration members

AverageX

AverageX: = 10

The average X-value.

AverageY

AverageY: = 11

The average Y-value.

Exponential

Exponential: = 1

Regression fit to the equation Y(x) = a * exp(b*x).

Fourier

Fourier: = 4

Regression fit to the equation Y(x) = a + b * cos(x) + c * sin(x) + d * cos(2x) + e * sin(2x) + ...

Linear

Linear: = 0

A straight line that most closely approximates the data. Y(x) = a * x + b.

Logarithmic

Logarithmic: = 2

Regression fit to the equation Y(x) = a * ln(x) + b.

MaxX

MaxX: = 8

The maximum X-value.

MaxY

MaxY: = 9

The maximum Y-value.

MinX

MinX: = 6

The minimum X-value.

MinY

MinY: = 7

The minimum Y-value.

Polynomial

Polynomial: = 5

Regression fit to the equation Y(x) = a * x^n + b * x^n-1 + c * x^n-2 + ... + z.

Power

Power: = 3

Regression fit to the equation Y(x) = a * pow(x, b).