MAIDR JavaScript API
    Preparing search index...

    The result of converting one data view.

    Mirrors the Tableau adapter's { maidr, selection } contract: the schema, plus where every navigable position came from, so a visual can route the reader's position back to its own marks. maidr.onNavigate is deliberately not set; wiring it is the binder's job.

    interface PowerBIConversion {
        maidr: Maidr;
        cells: ReadonlyMap<
            string,
            readonly (readonly (PowerBIDataPointRef | null)[])[],
        >;
        points: ReadonlyMap<string, readonly (PowerBIDataPointRef | null)[]>;
    }
    Index

    Properties

    Properties

    maidr: Maidr

    The MAIDR data, ready for <Maidr data={...}>.

    cells: ReadonlyMap<string, readonly (readonly (PowerBIDataPointRef | null)[])[]>

    Layer id → [row][col] → the data point at that MAIDR position, for the grid-shaped layers (bar, segmented bar, line, pie). null marks a position no mark was drawn for — a blank line sample, or a gap padded to keep a segmented grid rectangular.

    A segmented (stacked_bar / dodged_bar) layer's rows are its series. MAIDR appends one more row after them, the per-category sum, which has no entry here: resolvePowerBIDataPoints reads it as every segment of that category.

    points: ReadonlyMap<string, readonly (PowerBIDataPointRef | null)[]>

    Layer id → per-point data point, for scatter layers.