Skip to content

Function: bin() ​

ts
function bin<F>(field, options?): BinSpec<F>;

Defined in: packages/core/src/specs.ts:29

A binned numeric or date dimension.

Type Parameters ​

Type Parameter
F extends string

Parameters ​

ParameterType
fieldF
options?BinOptions

Returns ​

BinSpec<F>

Released under the MIT License.