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