public final class ScaleTickItem extends NativeObjectContainer
ScaleItem
.Modifier and Type | Class and Description |
---|---|
static class |
ScaleTickItem.ScaleTickItemFactory
Inner class to create time tick item by a native object.
|
Modifier and Type | Field and Description |
---|---|
static ScaleTickItem.ScaleTickItemFactory |
FACTORY
Public factory to create a scale tick item from a native object.
|
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Returns the label of the tick.
|
double |
getValue()
Returns the value of the tick as double.
|
Date |
getValueAsDate()
Returns the date of the tick.
|
String |
getValueAsString()
Returns the value of the tick as string.
|
boolean |
isMajor()
Returns
true if is the major tick, otherwise Undefined.BOOLEAN . |
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public static final ScaleTickItem.ScaleTickItemFactory FACTORY
public final String getLabel()
Undefined.STRING
if missing.public final double getValue()
Undefined.DOUBLE
if missing or not a double.public final String getValueAsString()
Undefined.STRING
if missing or not a string.public Date getValueAsDate()
null
if missing.public boolean isMajor()
true
if is the major tick, otherwise Undefined.BOOLEAN
.true
if is the major tick, otherwise Undefined.BOOLEAN
.