LCLiveCharts
Recipes

Heart rate

Minimal badge, exaggerate, custom formatter

A sensor-style chart: small increments, big visual motion, quiet chrome.

<LiveChart
  data={data}
  value={value}
  theme="light"
  color="#ef4444"
  formatValue={(v) => `${Math.round(v)} bpm`}
  exaggerate
  badgeVariant="minimal"
  grid={false}
  momentum={false}
  lineWidth={2.5}
  window={60}
/>

Resting heart rate. Custom formatter, exaggerated Y-axis.

Why these props

PropReason
exaggerateBPM moves are tiny; fill the plot
badgeVariant="minimal"Clinical, less “trading terminal”
momentum={false}Direction arrows add noise for vitals
formatValueHuman units on the badge

Feed with a calm walker (volatility low) or a BLE/WebSocket sensor stream.

On this page