Skip to content

Interface: FigureColorbarSource ​

Defined in: StylePresets.ts:126

What a figure's colour key describes, typically taken from a data layer.

Properties ​

label ​

ts
readonly label: string;

Defined in: StylePresets.ts:127


colors ​

ts
readonly colors: readonly string[];

Defined in: StylePresets.ts:129

CSS colours from the low to the high end of range.


range ​

ts
readonly range: readonly [number, number];

Defined in: StylePresets.ts:130


threshold? ​

ts
readonly optional threshold?: readonly [number, number];

Defined in: StylePresets.ts:132

Masked interval: values inside it are not drawn.


caps? ​

ts
readonly optional caps?: Readonly<FigureColorbarCaps>;

Defined in: StylePresets.ts:133

Released under the MIT License.