Interface representing a legend for a color style usef for rendering legends.

Interface

Hierarchy

  • WxLegend

Properties

colors: Uint32Array

An array of colors.

showAboveMax: boolean

Whether to show the color for values above the maximum.

showBelowMin: boolean

Whether to show the color for values below the minimum.

size: number

The size of the legend in pixels.

ticks: WxTick[]

An array of ticks.

units: string

The units of the legend.

Generated using TypeDoc