Home > @activeviam/activeui-sdk > NumericScaleProfileImplementationProperties > scale
NumericScaleProfileImplementationProperties.scale property
For a given value and domain, return a value between 0 and 1, that will represent the percentage on the scale.
Signature:
scale: (value: number, domain: number[]) => number;