LCLiveCharts
Guides

Value overlay

Large live number via DOM, not React re-renders

showValue

<LiveChart
  data={data}
  value={value}
  showValue
  valueMomentumColor
  formatValue={(v) => v.toFixed(2)}
  badge={false}
  style={{ height: "100%" }}
/>
PropDefaultRole
showValuefalseLarge centered (or layout-aware) live number
valueMomentumColorfalseTint the number with momentum green/red
formatValuev.toFixed(2)Shared with badge & tooltips

60fps value overlay with momentum colouring.

Updates run at frame rate through a DOM node owned by the engine — toggling showValue does not force React to re-render every frame.

Layout tips

  • Leave vertical room if you also show windows or mode toggles (style / padding).
  • Often disable badge when the overlay is the primary readout.
  • Pair with theme so contrast holds on light and dark surfaces.

On this page