Package com.smartgwt.client.widgets.chart

# Interface HasLegendClickHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `FacetChart`

public interface HasLegendClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addLegendClickHandler(LegendClickHandler handler)`
  Fires when the user clicks on the legend area of the chart.

  ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

  `fireEvent`

- ## Method Details

  - ### addLegendClickHandler

    HandlerRegistration addLegendClickHandler(LegendClickHandler handler)
    Fires when the user clicks on the legend area of the chart.

    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.

    Parameters:
      `handler` - the legendClick handler
    Returns:
      `HandlerRegistration` used to remove this handler