Home > @activeviam/activeui-sdk > NumericScaleProfileImplementationProperties
NumericScaleProfileImplementationProperties interface
A plugin used when computing numerical scales, in order to customize the mapping of a value on a scale.
Signature:
export interface NumericScaleProfileImplementationProperties
Properties
Property | Type | Description |
---|---|---|
scale | (value: number, domain: number[]) => number | For a given value and domain, return a value between 0 and 1, that will represent the percentage on the scale. |