public interface LeaveEventHandler
DataLabelsPlugin.ID
plugin to manage LEAVE events on labels.true
, 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.Modifier and Type | Method and Description |
---|---|
boolean |
onLeave(DataLabelsContext context,
ChartEventContext event)
Invoked to manage LEAVE events on labels.
|
boolean onLeave(DataLabelsContext context, ChartEventContext event)
context
- DataLabelsPlugin.ID
plugin context instanceevent
- event instancetrue
, the label is updated with the new context and the chart re-rendered.