Enum Class AxisType
- All Implemented Interfaces:
ChartEnum,Serializable,Comparable<AxisType>,Constable
Enum representing different axis types. Can be one of LINEAR, LOGARITHMIC,
CATEGORY or DATETIME. In a DATETIME axis, the numbers are given in
milliseconds (or as
Instants), and tick marks are placed on
appropriate values like full hours or days. The default for new axes is
LINEAR. CATEGORY is a convenience mode for where the point names of the first
series are used for categories - avoiding the need to call
Axis.setCategories(String...).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiona convenience mode for where the point names of the first series are used for categories - avoiding the need to callAxis.setCategories(String...). -
Method Summary
-
Enum Constant Details
-
LINEAR
-
LOGARITHMIC
-
DATETIME
-
CATEGORY
a convenience mode for where the point names of the first series are used for categories - avoiding the need to callAxis.setCategories(String...). Note that mode does not affect "x" value, so all series must have same points defined in same order.
-
-
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
-
toString
-