Replaces all data for the chart identified by maidr.id.
MAIDR keeps a reference to the passed object — do not mutate it after
calling; pass a fresh object (or a structuredClone) for each update.
Appends a single data point to a chart layer (streaming).
Each append rebuilds the chart model from the full data; set
Maidr.maxWidth to bound per-update cost on high-frequency streams.
Public realtime/streaming API for script-tag consumers, exposed as
window.maidrLiveby the script bundle. Exported here so TypeScript consumers can type the global without importing the script-tag entry.Example