public interface HasLegendClickHandlers extends HasHandlers
| Modifier and Type | Method and Description |
|---|---|
HandlerRegistration |
addLegendClickHandler(LegendClickHandler handler)
Fires when the user clicks on the legend area of the chart.
|
fireEventHandlerRegistration addLegendClickHandler(LegendClickHandler handler)
If the user specifically clicks on a color swatch or
it's label, the FacetValue clicked on will be provided.
If the chart is a
multi-axis chart, the FacetValue for the clicked-on metric will also be provided.
handler - the legendClick handlerHandlerRegistration used to remove this handler