Skip to content

Table of contents

Interfaces

Type Aliases

Type Aliases

LegendDescription

Ƭ LegendDescription: MetricItem[]


LegendItem

Ƭ LegendItem: number | string


LegendLines

Ƭ LegendLines: [number, LegendItem, ...LegendItem[]][]

Lines defining the legend. First column MUST be number, but we keep te type as easy as possible

1st column: value, 2nd column: text for first metric (°C for example) 3rd column: text for second metric (°F for example) 4th column: and so on


MetricItem

Ƭ MetricItem: "K" | "°C" | "°F" | "kt" | "bft" | "m/s" | "mph" | "km/h" | "%" | "rules" | "hPa" | "inHg" | "mmHg" | "mm" | "in" | "cm" | "in" | "J/kg" | "DU" | "AOD" | "µg/m³" | "mg/m²" | "m" | "ft" | "km" | "mi" | "NM" | "sm" | "ppbv" | "dBZ" | "ptype" | "type" | "l/km²" | "W/m²" | "drought" | "fwi" | "mm/h" | "in/h" | "uvindex" | "EDR" | "km²" | "acres"