Package com.grapecity.documents.excel
Enum Class DataBarAxisPosition
- All Implemented Interfaces:
Serializable,Comparable<DataBarAxisPosition>,Constable
Specifies the axis position for a range of cells with conditional formatting as data bars.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisplays the axis at a variable position based on the ratio of the minimum negative value to the maximum positive value in the range.Displays the axis at the midpoint of the cell regardless of the set of values in the range.Specifies that no axis is displayed, and both positive and negative values are displayed in the left-to-right direction. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataBarAxisPositionReturns the enum constant of this class with the specified name.static DataBarAxisPosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
Specifies that no axis is displayed, and both positive and negative values are displayed in the left-to-right direction. -
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
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
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
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 nameNullPointerException- if the argument is null
-