Use the members of this enumeration to set the value of the TrendLine.TrendLineType property in the TrendLine class.
[Visual Basic]
Public Enum TrendLineTypeEnum
[C#]
public enum TrendLineTypeEnum
[Delphi]
type TrendLineTypeEnum = (Average, Exponent, Fourier, Logarithmic, Maximum, Minimum, MovingAverage, Polynom, Power);
Namespace: C1.Win.C1Chart
Assembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)
Members
Member 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(2*x) + C4 * sin(2*x) + … |
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 + C1*x + C2*x2 + … + Cn-1*xn-1, wher n - number of terms. |
Power |
Regression fit to the equation Y(x) = C0 * x C1 |
See Also
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |