public enum AxisType extends Enum<AxisType> implements ChartEnum
Dates), 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...).| Enum Constant and Description |
|---|
CATEGORY
a convenience mode for where the point names of the first series are used
for categories - avoiding the need to call
Axis.setCategories(String...). |
DATETIME
In axis mode, the numbers are given in milliseconds (or as
Date
s), and tick marks are placed on appropriate values like full hours or
days and formatted appropriately. |
LINEAR |
LOGARITHMIC |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static AxisType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxisType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AxisType LINEAR
public static final AxisType LOGARITHMIC
public static final AxisType DATETIME
Date
s), and tick marks are placed on appropriate values like full hours or
days and formatted appropriately.public static final AxisType CATEGORY
Axis.setCategories(String...). Note that mode does not affect "x"
value, so all series must have same points defined in same order.public static AxisType[] values()
for (AxisType c : AxisType.values()) System.out.println(c);
public static AxisType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025. All rights reserved.