MAIDR Documentation - v3.73.0
    Preparing search index...

    Interface AnyChartsBinderOptions

    Options the consumer can pass when binding a multi-panel group of AnyChart charts to MAIDR.

    Unlike AnyChartBinderOptions, title and axes here are figure-level overrides: title becomes the whole figure's title, and axes (when set) replaces the per-panel axis titles extracted from each chart. Each panel's display name always comes from its own chart title.

    interface AnyChartsBinderOptions {
        id?: string;
        title?: string;
        axes?: { x?: string; y?: string };
        layout?: AnyChartsLayout | "auto";
    }
    Index

    Properties

    Properties

    id?: string

    Override the figure ID used in the MAIDR schema.

    title?: string

    Figure-level title. Panel names come from each chart's own title.

    axes?: { x?: string; y?: string }

    Figure-level axis-label overrides applied to every panel's layers.

    layout?: AnyChartsLayout | "auto"

    How to arrange a FLAT chart array into a grid. Ignored when charts is already a 2D array.

    • { rows?, columns? } — chunk row-major (see AnyChartsLayout).
    • 'auto' — derive the grid from each chart container's on-page position: containers are clustered into rows by their bounding-rect top and sorted left-to-right within each row. Requires every chart to have a resolvable, attached container.
    • Omitted — a flat array becomes a single row.