Interface LegendItemSortCallback
-
public interface LegendItemSortCallback
Allows sorting of legend items.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
onItemSort(IsChart chart, T item1, T item2)
Allows sorting of items, for tooltip or legend
-
-
-
Method Detail
-
onItemSort
int onItemSort(IsChart chart, T item1, T item2)
Allows sorting of items, for tooltip or legend- Parameters:
chart
- chart instanceitem1
- 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.
-
-