Skip to content

Function: d3pScaleFactory() ​

ts
function d3pScaleFactory(type, opts): D3PScale;

Defined in: core/util.ts:131

Creates the d3 scale of a type (linear, log, time, band...) with its options.

Parameters ​

type ​

D3PScaleType

opts ​

object & D3PScaleOptions

Returns ​

D3PScale