Documentation / @ripl/core / getLinearScaleMethod
Function: getLinearScaleMethod() ​
getLinearScaleMethod(
domain,range,options?):ScaleMethod
Defined in: packages/core/src/scales/_base/index.ts:78
Creates a linear mapping function from a numeric domain to a numeric range, with optional clamping and tick-padding.
Parameters ​
| Parameter | Type |
|---|---|
domain | number[] |
range | number[] |
options? | LinearScaleOptions |