Lumagrid
Preparing search index...
index
thresholdScale
Function thresholdScale
thresholdScale
(
thresholds
:
number
[]
,
colors
:
string
[]
,
)
:
(
value
:
number
)
=>
string
Creates a threshold-based color mapper. Values below thresholds[0] → colors[0], etc.
Parameters
thresholds
:
number
[]
colors
:
string
[]
Returns
(
value
:
number
)
=>
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Lumagrid
Loading...
Creates a threshold-based color mapper. Values below thresholds[0] → colors[0], etc.