Convert a group of AnyChart chart instances into ONE multi-panel MAIDR
figure (a 2D subplot grid navigable with arrow keys + Enter).
AnyChart has no native facet/small-multiples concept — the idiom is one
chart instance per container — so the grouping here is explicit:
charts as a 2D array maps 1:1 onto the subplot grid, row-major in
visual reading order (top-left panel first).
charts as a flat array is arranged according to options.layout
({ rows?, columns? } chunked row-major, 'auto' derived from the
containers' on-page positions, or a single row when omitted).
Each panel's display name is its own chart title; options.title names
the whole figure and options.axes overrides every panel's axis labels.
Prefer bindAnyCharts, which also stamps the per-panel highlight
attributes this function's selectors refer to. Use this directly only for
inspection or custom mounting flows. Pass a stable options.id if you
need deterministic output across calls (the default id is generated).
Convert a group of AnyChart chart instances into ONE multi-panel MAIDR figure (a 2D subplot grid navigable with arrow keys + Enter).
AnyChart has no native facet/small-multiples concept — the idiom is one chart instance per container — so the grouping here is explicit:
chartsas a 2D array maps 1:1 onto the subplot grid, row-major in visual reading order (top-left panel first).chartsas a flat array is arranged according tooptions.layout({ rows?, columns? }chunked row-major,'auto'derived from the containers' on-page positions, or a single row when omitted).Each panel's display name is its own chart title;
options.titlenames the whole figure andoptions.axesoverrides every panel's axis labels.Prefer bindAnyCharts, which also stamps the per-panel highlight attributes this function's selectors refer to. Use this directly only for inspection or custom mounting flows. Pass a stable
options.idif you need deterministic output across calls (the default id is generated).