Package | Description |
---|---|
org.pepstock.charba.client | |
org.pepstock.charba.client.events |
Modifier and Type | Method and Description |
---|---|
DatasetMetaItem |
AbstractChart.getDatasetMeta(int index)
Looks for the dataset that matches the current index and returns that metadata.
|
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. |
Constructor and Description |
---|
ChartClickEvent(com.google.gwt.dom.client.NativeEvent nativeEvent,
DatasetMetaItem items)
Creates the event with a list of items with dataset metadata related to the click
|
ChartHoverEvent(com.google.gwt.dom.client.NativeEvent nativeEvent,
DatasetMetaItem items)
Creates the event with a list of items with dataset metadata related to the hover
|