Package | Description |
---|---|
org.pepstock.charba.client | |
org.pepstock.charba.client.options | |
org.pepstock.charba.client.plugins |
Modifier and Type | Method and Description |
---|---|
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. |
DatasetMetaItem |
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(AbstractChart<?,?> chart,
ChartNativeEvent event,
com.google.gwt.core.client.JavaScriptObject options)
Called after the 'event' has been consumed.
|
boolean |
Plugin.onBeforeEvent(AbstractChart<?,?> chart,
ChartNativeEvent event,
com.google.gwt.core.client.JavaScriptObject options)
Called before processing the specified 'event'.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Legend.onClick(ChartNativeEvent event,
GenericJavaScriptObject item)
A callback that is called when a click event is registered on a label item
|
protected void |
BaseOptions.onClick(ChartNativeEvent event,
GenericJavaScriptObject metadata)
Called if the event is of type 'mouseup' or 'click'.
|
protected void |
Legend.onHover(ChartNativeEvent event,
GenericJavaScriptObject item)
A callback that is called when a 'mousemove' event is registered on top of a label item
|
protected void |
BaseOptions.onHover(ChartNativeEvent event,
GenericJavaScriptObject metadata)
Called when any of the events fire.
|
protected void |
BaseOptions.onItemClick(ChartNativeEvent event,
GenericJavaScriptObject object)
Called if the event is of type 'mouseup' or 'click'.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractPlugin.onAfterEvent(AbstractChart<?,?> chart,
ChartNativeEvent event,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeEvent(AbstractChart<?,?> chart,
ChartNativeEvent event,
com.google.gwt.core.client.JavaScriptObject options) |