Guides
Reference line
Horizontal threshold with optional label
Usage
<LiveChart
data={data}
value={value}
referenceLine={{ value: 100_000, label: "Strike" }}
formatValue={(v) => v.toLocaleString()}
windows={[
{ label: "1m", secs: 60 },
{ label: "5m", secs: 300 },
]}
/>type ReferenceLine = {
value: number;
label?: string;
};Draws a horizontal guide at a fixed Y value — useful for strike prices, SLAs, heart-rate zones, or prediction-market thresholds (Polymarket-style windows).
Polymarket-style prediction line. "Will Bitcoin stay above $67,500?"
Colors come from the theme palette (refLine, refLabel), not the accent, so the guide stays secondary to the live series.