Skip to content

Interface: FigureColorbarSource ​

Defined in: StylePresets.ts:138

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

Properties ​

label ​

ts
readonly label: string;

Defined in: StylePresets.ts:139


colors ​

ts
readonly colors: readonly string[];

Defined in: StylePresets.ts:141

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


range ​

ts
readonly range: readonly [number, number];

Defined in: StylePresets.ts:142


threshold? ​

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

Defined in: StylePresets.ts:144

Masked interval: values inside it are not drawn.


caps? ​

ts
readonly caps?: Readonly<FigureColorbarCaps>;

Defined in: StylePresets.ts:145

Released under the MIT License.