Skip to content

Type Alias: ContinuousScale ​

ts
type ContinuousScale = string | readonly string[] | readonly (readonly [number, string][]);

A continuous colorscale: a named scale ('Viridis'), a list of colors, or [position, color] pairs.

Released under the MIT License.