Package tech.tablesaw.plotly.components
Enum TickSettings.TickMode
- java.lang.Object
-
- java.lang.Enum<TickSettings.TickMode>
-
- tech.tablesaw.plotly.components.TickSettings.TickMode
-
- All Implemented Interfaces:
Serializable
,Comparable<TickSettings.TickMode>
- Enclosing class:
- TickSettings
public static enum TickSettings.TickMode extends Enum<TickSettings.TickMode>
Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static TickSettings.TickMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TickSettings.TickMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final TickSettings.TickMode AUTO
-
LINEAR
public static final TickSettings.TickMode LINEAR
-
ARRAY
public static final TickSettings.TickMode ARRAY
-
-
Method Detail
-
values
public static TickSettings.TickMode[] 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 (TickSettings.TickMode c : TickSettings.TickMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TickSettings.TickMode 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<TickSettings.TickMode>
-
-