Interface LegendListener
public interface LegendListener
Notified when the user taps a legend entry, whether or not the tap toggled the series
(see
Chart#setLegendToggles(boolean)).-
Method Summary
Modifier and TypeMethodDescriptionvoidlegendTapped(Chart chart, Series series, int entry) Called on the EDT after a legend tap, once any toggle has been applied.
-
Method Details
-
legendTapped
Called on the EDT after a legend tap, once any toggle has been applied.
Parameters
-
chart: the chart -
series: the series the entry belongs to -
entry: the entry within the series; a pie or funnel lists one per slice, other series list one, entry 0
-
-