public enum AxisOption extends Enum<AxisOption> implements IPropCnrBoolean
Enum Constant and Description |
---|
DROP_LABELS
Whether the axis automatically drops labels at regular interval or not to avoid labels overlapping.
|
ENABLE_CACHE
Whether the ticks and labels are cached from one rendering to another.
|
FIXED
Force all axis labels to be fixed numbers.
|
HTML_LABELS
Flag to use HTML (as opposed to the native vector graphics engine) to draw labels.
|
INCLUDE_ZERO
Option to include zero in axis, i.e.
|
LABEL_SIZE_CHANGE
Indicates to the axis whether the axis labels are changing their size on zoom.
|
MAJOR_LABELS
Flag to draw labels at major ticks.
|
MICRO_TICKS
Flag to draw micro ticks on an axis.
|
MINOR_LABELS
Flag to labels on minor ticks when there is enough space.
|
MINOR_TICKS
Flag to draw minor ticks on an axis.
|
NATURAL
Ensure tick marks are made on "natural" numbers.
|
VERTICAL
The Axis direction as vertical (true), horizontal (false) is default.
|
VISIBLE
Provides support for an invisible axis, i.e.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDefaultValue()
Gets the default value when the property is not set.
|
String |
getPropName()
Returns the name of the property, usually starting with '$'.
|
static AxisOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxisOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AxisOption VERTICAL
Default is false, i.e. horizontal.
public static final AxisOption VISIBLE
Default is true.
public static final AxisOption INCLUDE_ZERO
Default is false.
public static final AxisOption FIXED
Default is true.
public static final AxisOption NATURAL
Defaults to false.
public static final AxisOption MAJOR_LABELS
Default is true.
public static final AxisOption MINOR_TICKS
Default is true.
public static final AxisOption MINOR_LABELS
Default is true.
public static final AxisOption MICRO_TICKS
Default is false.
public static final AxisOption HTML_LABELS
Default is true.
public static final AxisOption DROP_LABELS
Default is true.
public static final AxisOption LABEL_SIZE_CHANGE
Default is false.
public static final AxisOption ENABLE_CACHE
Default false.
public static AxisOption[] values()
for (AxisOption c : AxisOption.values()) System.out.println(c);
public static AxisOption 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 nullpublic boolean getDefaultValue()
getDefaultValue
in interface IPropCnrBoolean
public String getPropName()
getPropName
in interface IPropCnrBoolean
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.