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

    Options accepted by createMaidrFromGoogleCharts.

    interface GoogleChartsGridOptions {
        root: HTMLElement;
        id?: string;
        title?: string;
        layout?: { rows?: number; columns?: number };
    }
    Index

    Properties

    Properties

    root: HTMLElement

    Wrapper element containing ALL panel containers. The combined maidr attribute must be set on this element (not on the individual panel containers): root.setAttribute('maidr', JSON.stringify(maidr)).

    id?: string

    Unique ID for the MAIDR instance. Defaults to the root element's id.

    title?: string

    Figure-level title announced when the figure receives focus.

    layout?: { rows?: number; columns?: number }

    Grid shape for a FLAT panels array, chunked row-major. columns wins when both are given; with only rows, columns = ceil(n / rows). Ignored when panels is already a 2D array.