[]
        
(Showing Draft Content)

DataBarAxisPosition

Enum Class DataBarAxisPosition

java.lang.Object
java.lang.Enum<DataBarAxisPosition>
com.grapecity.documents.excel.DataBarAxisPosition
All Implemented Interfaces:
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.
  • Enum Constant Details

    • 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.
  • Method Details

    • values

      public static DataBarAxisPosition[] 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 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.)
      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