public final class ScalesNode extends NativeObjectContainer
| Constructor and Description |
|---|
ScalesNode(NativeObject nativeObject)
Creates the item using a native java script object which contains all properties.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ScaleItem> |
getItems()
Returns a map with all defined axis.
|
ScaleItem |
getScaleIsInside(ChartNativeEvent event)
Returns the scale item if the chart event is inside of one of scales, otherwise
null. |
boolean |
isInside(ChartNativeEvent event)
Returns
true if the chart event is inside of one of scales, otherwise false. |
checkValue, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic ScalesNode(NativeObject nativeObject)
nativeObject - native java script object which contains all properties.public Map<String,ScaleItem> getItems()
public ScaleItem getScaleIsInside(ChartNativeEvent event)
null.event - event to check if inside of one of scales.nullpublic boolean isInside(ChartNativeEvent event)
true if the chart event is inside of one of scales, otherwise false.event - event to check if inside of one of scales.true if the chart event is inside of one of scales, otherwise false