Interface HasLegendClickHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
FacetChart

public interface HasLegendClickHandlers extends HasHandlers
  • 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