Interface LegendClickHandler

All Superinterfaces:
EventHandler

public interface LegendClickHandler extends EventHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Fires when the user clicks on the legend area of the chart.
  • Method Details

    • onLegendClick

      void onLegendClick(LegendClickEvent event)
      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:
      event - the event