Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BinBuilderImpl

Implements

Index

Constructors

constructor

Methods

anchor

  • A value in the binned domain at which to anchor the bins, shifting the bin boundaries if necessary to ensure that a boundary aligns with the anchor value. By default, the minimum bin extent value serves as the anchor.

    Parameters

    • value: number

    Returns BinBuilderImpl

as

  • The output fields at which to write the start and end bin values. The default is ["bin0", "bin1"].

    Parameters

    • start: string
    • end: string

    Returns BinBuilderImpl

base

build

  • build(df: any, from: any): any

divide

  • Allowable bin step sub-divisions. The default value is [5, 2], which indicates that for base 10 numbers (the default base) automatic bin determination can consider dividing bin step sizes by 5 and/or 2.

    Parameters

    • values: number[]

    Returns BinBuilderImpl

extent

field

maxBins

minStep

nice

ref

step

steps