public interface ClickEventHandler
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(AbstractChart<?,?> chart,
Context context)
Invoked to manage CLICK events on labels.
|
boolean onClick(AbstractChart<?,?> chart, Context context)
chart
- chart instancecontext
- DATALABELS plugin context instancetrue
, the label is updated with the new context and the chart
re-rendered.