Skip to main content
zerotal

Documentation


Documentation / @zerotal/monitor / MonitorStat

Interface: MonitorStat

Defined in: monitor/src/panel.ts:41

A headline figure at the top of a section.

Properties

label

label: string

Defined in: monitor/src/panel.ts:42


value

value: string | number

Defined in: monitor/src/panel.ts:43


detail?

optional detail?: string

Defined in: monitor/src/panel.ts:45

Secondary line under the value — a total, a rate, a comparison.


tone?

optional tone?: MonitorTone

Defined in: monitor/src/panel.ts:46


percent?

optional percent?: number

Defined in: monitor/src/panel.ts:48

Draw a 0–100 progress bar under the value.