Const
Collection of some example implementations of SliceSorter
Use with setSliceSorter
Example usage:
// Use a default implementationSlicedCharts.setSliceSorter(SliceSorters.SortByValueDescending)// Use a custom implementationSlicedCharts.setSliceSorter((a, b) => a.getValue() - b.getValue())
Disabled Slice sorting.
SliceSorter that sorts Slices based on their names using JS API: String.localeCompare.
SliceSorter that sorts Slices to ascending value order.
SliceSorter that sorts Slices to descending value order.
Collection of some example implementations of SliceSorter
Use with setSliceSorter
Example usage: