public final class ScalesNode extends NativeObjectContainer
Constructor and Description |
---|
ScalesNode(ChartEnvelop<NativeObject> envelop)
Creates the item using an envelop with the 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(BaseNativeEvent event)
Returns the scale item if the chart event is inside of one of scales, otherwise
null . |
boolean |
isInside(BaseNativeEvent event)
Returns
true if the chart event is inside of one of scales, otherwise false . |
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 ScalesNode(ChartEnvelop<NativeObject> envelop)
envelop
- envelop with the native java script object which contains all properties.public Map<String,ScaleItem> getItems()
public ScaleItem getScaleIsInside(BaseNativeEvent event)
null
.event
- event to check if inside of one of scales.null
public boolean isInside(BaseNativeEvent 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