public final class TickItem extends JavaScriptObjectContainer
TickCallback
Constructor and Description |
---|
TickItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns the index of the tick.
|
double |
getValue()
Returns the value of the tick.
|
java.util.List<java.lang.Double> |
getValues()
Returns the complete list of ticks.
|
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, type
public TickItem(GenericJavaScriptObject javaScriptObject)
javaScriptObject
- CHART.JS java script objectpublic double getValue()
UndefinedValues.DOUBLE
.public int getIndex()
UndefinedValues.INTEGER
.public java.util.List<java.lang.Double> getValues()