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

    Interface D3SubplotsConfig

    Configuration for bindD3Subplots — a heterogeneous grid of independently-drawn charts inside one SVG (or container).

    interface D3SubplotsConfig {
        subplots: D3SubplotEntry[] | D3SubplotEntry[][];
        layout?: D3PanelLayout;
        id?: string;
        title?: string;
        subtitle?: string;
        caption?: string;
        autoApply?: boolean;
    }
    Index

    Properties

    subplots: D3SubplotEntry[] | D3SubplotEntry[][]

    The panels, either as an explicit 2D grid (row-major, ragged rows allowed, empty rows not) or as a flat array arranged via layout / geometry inference.

    layout?: D3PanelLayout

    Grid layout for a flat subplots array. Ignored for 2D arrays.

    id?: string

    Unique identifier for the figure. Auto-generated when omitted.

    title?: string

    Figure title displayed in text descriptions.

    subtitle?: string

    Figure subtitle.

    caption?: string

    Figure caption.

    autoApply?: boolean

    When true (the default), writes the generated MAIDR schema to the container as a maidr-data attribute. See D3BinderConfig.autoApply.