Interface EnterEventHandler
-
- All Known Implementing Classes:
AbstractEventHandler,DataLabelsPointerHandler,DataLabelsSelectionHandler
public interface EnterEventHandlerCallback interface ofDataLabelsPlugin.IDplugin to manage ENTER events on labels.
Charba events need to be enabled in order to get the associated label event working.
If the callback explicitly returnstrue, the label is updated with the new context and the chart re-rendered. This allows to implement visual interactions with labels such as highlight, selection, etc.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonEnter(DataLabelsContext context, ChartEventContext event)Invoked to manage ENTER events on labels.
-
-
-
Method Detail
-
onEnter
boolean onEnter(DataLabelsContext context, ChartEventContext event)
Invoked to manage ENTER events on labels.- Parameters:
context-DataLabelsPlugin.IDplugin context instanceevent- event instance- Returns:
- If the callback explicitly returns
true, the label is updated with the new context and the chart re-rendered.
-
-