@univerjs/sheets-conditional-formatting v0.5.0-beta.1 • Docs
Function: getColorScaleFromValue()
function getColorScaleFromValue(colorList, value): undefined | string
Parameters
Parameter | Type |
---|---|
colorList | { color : ColorKit ; value : number ; }[] |
value | number |
Returns
undefined
| string
Defined in
sheets-conditional-formatting/src/services/calculate-unit/utils.ts:255