com.smartgwt.client.widgets.chart

## Interface HasLegendClickHandlers

- All Superinterfaces:
    HasHandlers
  All Known Implementing Classes:
    FacetChart

      public interface HasLegendClickHandlers
      extends HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and 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 Detail

    - #### 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