Interface IsLegendEvent
-
- All Superinterfaces:
HasNativeEvent
- All Known Implementing Classes:
LegendClickEvent,LegendHoverEvent,LegendLeaveEvent
public interface IsLegendEventInterface which maps a legend 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.LegendItemgetItem()Returns the legend item related to the event.KeygetKey()Returns the options key where default function is stored.-
Methods inherited from interface org.pepstock.charba.client.events.HasNativeEvent
getNativeEvent
-
-
-
-
Method Detail
-
getItem
LegendItem getItem()
Returns the legend item related to the event.- Returns:
- the legend item 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
-
-