Skip to content

StatContent

A single number: revenue, price, followers.

optional period?: string

Names the delta’s window: "today", "24h".


optional reference?: TypedValue

What the delta is measured against, e.g. the day’s opening value.


optional series?: number[]

Recent history for the sparkline, oldest first. At most 48 points survive.


optional upIsGood?: boolean

Whether an increase is good news. Defaults to true; set false for latency, error rate…


value: TypedValue