OptionalidOverride the chart id (defaults to "vl-chart").
OptionaltitleOverride the chart title (extracted from the spec by default).
OptionaldomOverride how MAIDR maps the rendered SVG of a segmented (stacked /
normalised / dodged) bar trace back onto the 2-D data[seriesIndex][barIndex]
grid. Supplied as a hint to MaidrLayer.domMapping.
'series-major' — DOM emits all bars of one colour before
moving to the next colour. This is Vega-Lite's default for
stacked / normalised bars.'subject-major' — DOM emits all colours of one x-subject
before moving to the next subject. This is Vega-Lite's default
for dodged bars.Leave undefined to use the type-based defaults (stacked/normalised → series-major, dodged → subject-major). Only set this if your Vega-Lite spec uses a non-default mark order or transform that changes the DOM emission sequence.
Options accepted by the vegaLiteToMaidr converter.