Function: colorscaleKey()
ts
function colorscaleKey(scale, space?): string;Experimental
Resource key for a colorscale. Colors are quantized to 8 bits, as in the LUT.
Parameters
| Parameter | Type | Default value |
|---|---|---|
scale | Colorscale | undefined |
space | ColorscaleInterpolation | 'rgb' |
Returns
string