[]
Use the members of this enumeration to set the value of the TrendLineType property in the TrendLine class.
public enum TrendLineTypeEnum
Name | Description |
---|---|
Average | Average of y data values. |
Exponent | Regression fit to the equation Y(x) = C0 * exp( C1*x). |
Fourier | Regression fit to the equation Y(x) = C0 + C1 * cos(x) + C2 * sin(x) + C3 * cos(2x) + C4 * sin(2x) + … |
Logarithmic | Regression fit to the equation Y(x) = C0 * ln(C1*x). |
Maximum | Maximum of y data values. |
Minimum | Minimum of y data values. |
MovingAverage | Moving average of y data values Yi = ( yi + yi-1 + yi-2 + … + yi-p+1 ) / p, where p – period. |
Polynom | Regression fit to the equation Y(x) = C0 + C1x + C2x2 + … + Cn-1*xn-1, where n – number of terms. |
Power | Regression fit to the equation Y(x) = C0 * x C1. |