public interface LegendItemSortCallback
Modifier and Type | Method and Description |
---|---|
int |
onItemSort(IsChart chart,
T item1,
T item2)
Allows sorting of items, for tooltip or legend
|
int onItemSort(IsChart chart, T item1, T item2)
chart
- chart instanceitem1
- the first object to be compared.item2
- the second object to be compared.