Skip to main content
cngx-src documentation

createBandScale

Functioncommon/chart/scales

projects/common/chart/scales/band.ts

Description#

Construct a BandScale from a categorical domain and a numeric range. See the type-level documentation above for parameter semantics.

Signature#

createBandScale(domain, range, padding: number)

Parameters#

@paramdomain
@paramrange
@parampaddingnumber= 0

Returns#

BandScale