OptionaltitlePanel display name (e.g. the facet value, "Region: East"). Announced when navigating between subplots.
OptionaldataPanel data array. Falls back to the top-level data.
OptionalchartChart type for this panel (simple mode). Mutually exclusive with layers.
OptionalxKey in data objects for x-axis values. Falls back to the top-level xKey.
OptionalyKeys in data objects for y-axis values (simple mode). Falls back to the top-level yKeys.
OptionallayersLayer configurations for a composed panel (composed mode).
OptionalxX-axis label. Falls back to the top-level xLabel.
OptionalyY-axis label. Falls back to the top-level yLabel.
OptionalorientationBar chart orientation. Falls back to the top-level orientation.
OptionalfillSeries display names. Falls back to the top-level fillKeys.
OptionalbinHistogram bin range configuration. Falls back to the top-level binConfig.
OptionalselectorCustom CSS selector override for this panel's highlight elements.
Unlike other fields, this does NOT fall back to the top-level
selectorOverride (a single override cannot distinguish panels).
Provide an already panel-scoped selector when using this.
OptionalpanelCustom CSS selector for this panel's container element — the escape
hatch when you render the panel DOM yourself (e.g. via the
useRechartsAdapter hook) instead of letting <MaidrRecharts>
generate .maidr-panel-<row>-<col> wrapper divs.
Used both to scope this panel's highlight selectors and as the subplot container selector, so it must match ONLY this panel.
Per-panel configuration for multi-panel (faceted) charts.
Each panel is one Recharts chart in a grid of small multiples. Panel fields mirror the corresponding RechartsAdapterConfig fields; any field left out falls back to the top-level config value, so shared settings (
data,xKey, axis labels, ...) only need to be declared once.Every panel must define its own
chartType+yKeys(simple mode) orlayers(composed mode) — these are the only fields without a top-level default, becausesubplotsis mutually exclusive with the top-levelchartType/layers.