Package | Description |
---|---|
org.pepstock.charba.client | |
org.pepstock.charba.client.controllers | |
org.pepstock.charba.client.events | |
org.pepstock.charba.client.items |
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. |
Modifier and Type | Class and Description |
---|---|
class |
StyleElement
Element used by controller by
removeHoverStyle and setHoverStyle methods. |
Modifier and Type | Method and Description |
---|---|
DatasetItem |
DatasetSelectionEvent.getItem()
Returns the item with dataset metadata related to the click
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DatasetItem> |
ChartHoverEvent.getItems()
Returns a list of items with dataset metadata related to the hover
|
java.util.List<DatasetItem> |
ChartClickEvent.getItems()
Returns a list of items with dataset metadata related to the click
|
Constructor and Description |
---|
ChartClickEvent(com.google.gwt.dom.client.NativeEvent nativeEvent,
DatasetItem item)
Creates the event with dataset metadata item related to the click
|
DatasetSelectionEvent(com.google.gwt.dom.client.NativeEvent nativeEvent,
DatasetItem item)
Creates the event with dataset metadata item related to the click
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DatasetItem> |
DatasetMetaItem.getDatasets()
Returns a list of dataset metadata items.
|