Interface IsCommonChartEvent
-
- All Known Subinterfaces:
IsChartEvent,IsLegendEvent
- All Known Implementing Classes:
ChartClickEvent,ChartHoverEvent,LegendClickEvent,LegendHoverEvent,LegendLeaveEvent
public interface IsCommonChartEventInterface 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 IsChartgetChart()Returns the chart instance, stored in the event as source.ChartEventContextgetContext()Returns the java script function context of CHART.JS events.KeygetKey()Returns the options key where default function is stored.BaseNativeEventgetNativeEvent()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
-
-