Class: c3.array
Defined in: | js/c3.coffee |
Overview
################################################################## Array Helpers ##################################################################
Class Method Summary
- . (void) remove_item(arr, item) Remove an item from an array
- . (Array) sort_up(arr, accessor = function(d) { return d; }) Sort an array in ascending order based on the accessor.
- . (Array) sort_down(arr, accessor)
Class Method Details
.
(void)
remove_item(arr, item)
Remove an item from an array
.
(Array)
sort_up(arr, accessor = function(d) {
return d;
})
Note:
Please include the Crossfilter library for improved performance.
Sort an array in ascending order based on the accessor.
.
(Array)
sort_down(arr, accessor)