OptionaltitleChart title displayed in text descriptions.
OptionalsubtitleChart subtitle.
OptionalcaptionChart caption.
2D grid of subplots. Each row is an array of subplots.
For a single chart, use [[{ layers: [...] }]].
OptionalliveEnables live/realtime mode for this chart. When true:
data prop to replace the chart data in place.window.maidrLive.setData() /
window.maidrLive.appendData().Static charts (the default) are unaffected.
OptionalmaxSliding window size for streaming data. When set, appending a data point
beyond this width drops the oldest point(s), keeping at most maxWidth
points per series. Only applies to appendData updates.
OptionalonOptional callback invoked when the active data point changes. Used by canvas-based charting libraries (e.g., Chart.js) for visual highlighting, since canvas elements cannot be targeted with CSS selectors.
This field is not serializable as JSON; it is only available when constructing MAIDR data programmatically (e.g., via the Chart.js plugin or React API).
Unique identifier for the chart. Used for DOM element IDs.