Interface IsCommonChartEvent
-
- All Known Subinterfaces:
IsChartEvent
,IsLegendEvent
- All Known Implementing Classes:
ChartClickEvent
,ChartHoverEvent
,LegendClickEvent
,LegendHoverEvent
,LegendLeaveEvent
public interface IsCommonChartEvent
Interface which maps a common 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.Key
getKey()
Returns the options key where default function is stored.BaseNativeEvent
getNativeEvent()
Returns the native event instance.
-
-
-
Method Detail
-
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
-
getNativeEvent
BaseNativeEvent getNativeEvent()
Returns the native event instance.- Returns:
- the nativeEvent
-
-