Interface LegendFilterCallback


  • public interface LegendFilterCallback
    Filters legend items out of the legend. Receives 2 parameters, a Legend Item and the chart.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onFilter

        boolean onFilter​(IsChart chart,
                         T item)
        Callback that filter items on chart components.
        Parameters:
        chart - chart instance
        item - item to be filtered
        Returns:
        false to remove the item from the container, otherwise true.