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(IsChart chart,
ScriptableContext context)
Invoked to manage CLICK events on labels.
|
boolean onClick(IsChart chart, ScriptableContext context)
chart
- chart instancecontext
- DataLabelsPlugin.ID
plugin context instancetrue
, the label is updated with the new context and the chart
re-rendered.