Package tech.tablesaw.plotly.components
Enum Axis.RangeMode
- java.lang.Object
-
- java.lang.Enum<Axis.RangeMode>
-
- tech.tablesaw.plotly.components.Axis.RangeMode
-
- All Implemented Interfaces:
Serializable
,Comparable<Axis.RangeMode>
- Enclosing class:
- Axis
public static enum Axis.RangeMode extends Enum<Axis.RangeMode>
If "normal", the range is computed in relation to the extrema of the input data. If "tozero"`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NON_NEGATIVE
NORMAL
TO_ZERO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Axis.RangeMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Axis.RangeMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final Axis.RangeMode NORMAL
-
TO_ZERO
public static final Axis.RangeMode TO_ZERO
-
NON_NEGATIVE
public static final Axis.RangeMode NON_NEGATIVE
-
-
Method Detail
-
values
public static Axis.RangeMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Axis.RangeMode c : Axis.RangeMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Axis.RangeMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<Axis.RangeMode>
-
-