public interface ClickEventHandler
DataLabelsPlugin.ID
plugin to manage CLICK 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 |
onClick(DataLabelsContext context,
ChartEventContext event)
Invoked to manage CLICK events on labels.
|
boolean onClick(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.