Skip to content

grafit-charts


Function: binEdges() ​

binEdges(values, options?): BinEdge[]

The bin edges for a set of values. Empty when there is nothing to bin — a chart with no bars says more than a chart with one empty one.

Parameters ​

values ​

number[]

options? ​

BinningOptions = {}

Returns ​

BinEdge[]