com.smartgwt.client.widgets.chart

## Interface HasLegendClickHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    FacetChart

      public interface HasLegendClickHandlers
      extends com.google.gwt.event.shared.HasHandlers

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.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

          com.google.gwt.event.shared.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