API reference: @salmonui/charts/geo-map
GeoMapColorStopinterface
import type { GeoMapColorStop } from '@salmonui/charts/geo-map';interface GeoMapColorStop {
readonly from?: number | undefined;
readonly to?: number | undefined;
readonly value?: unknown;
readonly color?: string | undefined;
readonly opacity?: number | undefined;
readonly label?: string | undefined;
}
| Name | Signature | Description |
|---|---|---|
fromoptional | readonly from?: number | undefined; | Range stops: |
tooptional | readonly to?: number | undefined; | |
valueoptional | readonly value?: unknown; | Value stops: equality with the field value. |
coloroptional | readonly color?: string | undefined; | Data color. Opacity scales use |
opacityoptional | readonly opacity?: number | undefined; | |
labeloptional | readonly label?: string | undefined; | Legend text (default the range or value). |