Package | Description |
---|---|
org.pepstock.charba.client.events |
Contains all events to interact with chart instance.
|
org.pepstock.charba.client.items |
Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.
|
Modifier and Type | Method and Description |
---|---|
ScaleValueItem |
DatasetRangeSelectionEvent.getFrom()
Returns the starting value of selected scale.
|
ScaleValueItem |
DatasetRangeSelectionEvent.getTo()
Returns the ending value of selected scale.
|
ScaleValueItem |
AxisClickEvent.getValue()
Returns the scale value related to the click, or
null if not consistent. |
Constructor and Description |
---|
AxisClickEvent(BaseNativeEvent nativeEvent,
ScaleItem item,
Axis axis,
ScaleValueItem value)
Creates the event with axis related to the click
|
DatasetRangeSelectionEvent(BaseNativeEvent nativeEvent,
ScaleValueItem from,
ScaleValueItem to)
Creates the event with start and end values of selected scale
|
Modifier and Type | Method and Description |
---|---|
ScaleValueItem |
ScaleItem.getValueAtEvent(BaseNativeEvent event)
Returns the value on the axis related to an event position.
|
ScaleValueItem |
ScaleItem.getValueAtPixel(double position)
Returns the value on the axis related to a position, passed as pixels.
|