Class: c3.array

Defined in: js/c3.coffee

Overview

################################################################## Array Helpers

##################################################################

Class Method Summary

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.

Returns:

  • ( Array ) — Returns the sorted array

. (Array) sort_down(arr, accessor)

Returns:

  • ( Array ) — Returns the sorted array

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: