Skip to main content

Interface: SPNumberConfig

Defined in: StationPlot.ts:33

Configuration for numerical values on station plots

Properties

PropertyTypeDescriptionDefined in
cmap?ColorMap | nullA colormap to use for coloring numeric values Default nullStationPlot.ts:51
color?stringThe color to use to draw the number Default '#000000'StationPlot.ts:45
formatter?(val) => stringA function that properly formats the number for display Example (val) => val === null ? '' : val.toFixed(0)StationPlot.ts:71
halo?booleanWhether to draw a halo (outline) around the number Default true;StationPlot.ts:57
halo_color?stringThe color to use for the halo (outline) Default '#ffffff'StationPlot.ts:63
posSPPositionThe position on the station plot at which to place the numberStationPlot.ts:39
type"number"-StationPlot.ts:34