Skip to content

Documentation / @ripl/core / scaleLog

Function: scaleLog()

scaleLog(domain, range, options?): Scale<number>

Defined in: packages/core/src/scales/logarithmic.ts:136

Shortcut for a base-10 logarithmic scale.

Parameters

ParameterType
domainnumber[]
rangenumber[]
options?LinearScaleOptions

Returns

Scale<number>