Enum Class TrendlineType

java.lang.Object
java.lang.Enum<TrendlineType>
com.grapecity.documents.excel.drawing.TrendlineType
All Implemented Interfaces:
Serializable, Comparable<TrendlineType>, Constable

public enum TrendlineType extends Enum<TrendlineType>
指定如何计算平滑数据波动的趋势线。
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    使用方程 y=ab^x 通过点计算最小二乘拟合。
    使用线性方程 y = mx + b 来计算通过点的最小二乘拟合。
    使用方程 y = c ln x + b 来计算通过点的最小二乘拟合。
    使用由数据序列部分计算的一系列平均值。点的数量等于序列中的总点数减去指定周期的点数。
    使用方程 y = ax^6 + bx^5 + cx^4 + dx^3 + ex^2 + fx + g 通过点计算最小二乘拟合。
    使用方程 y = ax^b 通过点计算最小二乘拟合。
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static TrendlineType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • Logarithmic

      public static final TrendlineType Logarithmic
      使用方程 y = c ln x + b 来计算通过点的最小二乘拟合。
    • Linear

      public static final TrendlineType Linear
      使用线性方程 y = mx + b 来计算通过点的最小二乘拟合。
    • Polynomial

      public static final TrendlineType Polynomial
      使用方程 y = ax^6 + bx^5 + cx^4 + dx^3 + ex^2 + fx + g 通过点计算最小二乘拟合。
    • Power

      public static final TrendlineType Power
      使用方程 y = ax^b 通过点计算最小二乘拟合。
    • Exponential

      public static final TrendlineType Exponential
      使用方程 y=ab^x 通过点计算最小二乘拟合。
    • MovingAvg

      public static final TrendlineType MovingAvg
      使用由数据序列部分计算的一系列平均值。点的数量等于序列中的总点数减去指定周期的点数。
  • Method Details

    • values

      public static TrendlineType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TrendlineType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null