Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
org.pepstock.charba.client.impl.plugins |
Contains some plugins implementations, available out-of-the box.
|
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.
|
org.pepstock.charba.client.plugins |
Contains all classes to manage the plugin implementations.
|
Modifier and Type | Method and Description |
---|---|
DatasetMetaItem |
IsChart.getDatasetAtEvent(ChartNativeEvent event)
Looks for the dataset that matches the event and returns that metadata.
|
DatasetMetaItem |
AbstractChart.getDatasetAtEvent(ChartNativeEvent event)
Looks for the dataset that matches the event and returns that metadata.
|
DatasetItem |
IsChart.getElementAtEvent(ChartNativeEvent event)
Calling on your chart instance passing an argument of an event, will return the single element at the event position.
If there are multiple items within range, only the first is returned. |
DatasetItem |
AbstractChart.getElementAtEvent(ChartNativeEvent event)
Calling on your chart instance passing an argument of an event, will return the single element at the event position.
If there are multiple items within range, only the first is returned. |
List<DatasetItem> |
IsChart.getElementsAtEvent(ChartNativeEvent event)
Looks for the element under the event point, then returns all elements at the same data index.
Calling it on your chart instance passing an argument of an event, will return the point elements that are at that the same position of that event. |
List<DatasetItem> |
AbstractChart.getElementsAtEvent(ChartNativeEvent event)
Looks for the element under the event point, then returns all elements at the same data index.
Calling it on your chart instance passing an argument of an event, will return the point elements that are at that the same position of that event. |
void |
Plugin.onAfterEvent(IsChart chart,
ChartNativeEvent event)
Called after the 'event' has been consumed.
|
boolean |
Plugin.onBeforeEvent(IsChart chart,
ChartNativeEvent event)
Called before processing the specified 'event'.
|
Modifier and Type | Method and Description |
---|---|
ChartNativeEvent |
JsHelper.nativeEvent(NativeObject event,
String key)
Returns a chart native event from CHART.JS event.
|
Modifier and Type | Method and Description |
---|---|
void |
ChartPointer.onAfterEvent(IsChart chart,
ChartNativeEvent event) |
boolean |
DatasetsItemsSelector.onBeforeEvent(IsChart chart,
ChartNativeEvent event) |
Modifier and Type | Method and Description |
---|---|
ChartNativeEvent |
EventPluginItem.getEvent()
Returns the native event into the CHART.JS event.
|
Modifier and Type | Method and Description |
---|---|
ScaleItem |
ScalesNode.getScaleIsInside(ChartNativeEvent event)
Returns the scale item if the chart event is inside of one of scales, otherwise
null . |
boolean |
ScalesNode.isInside(ChartNativeEvent event)
Returns
true if the chart event is inside of one of scales, otherwise false . |
boolean |
LegendHitBoxItem.isInside(ChartNativeEvent event)
Returns
true if the chart event is inside of this box, otherwise false . |
boolean |
BaseBoxItem.isInside(ChartNativeEvent event)
Returns
true if the chart event is inside of this box, otherwise false . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPlugin.onAfterEvent(IsChart chart,
ChartNativeEvent event) |
boolean |
AbstractPlugin.onBeforeEvent(IsChart chart,
ChartNativeEvent event) |