Interface IsChartEvent
-
- All Superinterfaces:
HasNativeEvent
- All Known Implementing Classes:
ChartClickEvent
,ChartHoverEvent
public interface IsChartEvent
Interface which maps a chart event, an event generated from CHART.JS.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IsChart
getChart()
Returns the chart instance, stored in the event as source.ChartEventContext
getContext()
Returns the java script function context of CHART.JS events.List<DatasetReference>
getItems()
Returns a list of items with dataset references related to the event.Key
getKey()
Returns the options key where default function is stored.-
Methods inherited from interface org.pepstock.charba.client.events.HasNativeEvent
getNativeEvent
-
-
-
-
Method Detail
-
getItems
List<DatasetReference> getItems()
Returns a list of items with dataset references related to the event.- Returns:
- a list of items with dataset references related to the event
-
getContext
ChartEventContext getContext()
Returns the java script function context of CHART.JS events.- Returns:
- the java script function context of CHART.JS events.
-
getKey
Key getKey()
Returns the options key where default function is stored.- Returns:
- the options key where default function is stored
-
getChart
IsChart getChart()
Returns the chart instance, stored in the event as source.- Returns:
- the chart instance
-
-