Interface TooltipItemSortCallback


  • public interface TooltipItemSortCallback
    Allows sorting of tooltip items.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onItemSort

        int onItemSort​(IsChart chart,
                       T item1,
                       T item2)
        Allows sorting of items, for tooltip or legend
        Parameters:
        chart - chart instance
        item1 - the first object to be compared.
        item2 - the second object to be compared.
        Returns:
        a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.