Skip to main content

Interface: SPNumberConfig

Defined in: StationPlot.ts:31

Configuration for numerical values on station plots

Properties

PropertyTypeDescriptionDefined in
color?stringThe color to use to draw the number Default '#000000'StationPlot.ts:43
formatter?(val) => stringA function that properly formats the number for display Example (val) => val === null ? '' : val.toFixed(0)StationPlot.ts:63
halo?booleanWhether to draw a halo (outline) around the number Default true;StationPlot.ts:49
halo_color?stringThe color to use for the halo (outline) Default '#ffffff'StationPlot.ts:55
posSPPositionThe position on the station plot at which to place the numberStationPlot.ts:37
type"number"-StationPlot.ts:32