Enum Class DataBarAxisPosition

java.lang.Object
java.lang.Enum<DataBarAxisPosition>
com.grapecity.documents.excel.DataBarAxisPosition
所有已实现的接口:
Serializable, Comparable<DataBarAxisPosition>, Constable

public enum DataBarAxisPosition extends Enum<DataBarAxisPosition>
Specifies the axis position for a range of cells with conditional formatting as data bars.
  • 枚举常量详细资料

    • None

      public static final DataBarAxisPosition None
      Specifies that no axis is displayed, and both positive and negative values are displayed in the left-to-right direction.
    • Automatic

      public static final DataBarAxisPosition Automatic
      Displays the axis at a variable position based on the ratio of the minimum negative value to the maximum positive value in the range. Positive values are displayed in a left-to-right direction. Negative values are displayed in a right-to-left direction. When all values are positive or all values are negative, no axis is displayed.
    • Midpoint

      public static final DataBarAxisPosition Midpoint
      Displays the axis at the midpoint of the cell regardless of the set of values in the range. Positive values are displayed in a left-to-right direction. Negative values are displayed in a right-to-left direction.
  • 方法详细资料

    • values

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

      public static DataBarAxisPosition 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值