MAIDR JavaScript API
    Preparing search index...

    Where each MAIDR layer's marks came from, so a navigation position can be turned back into a uPlot series and data index.

    interface UPlotLayerSource {
        kind: UPlotSeriesKind;
        seriesIdxs: number[];
        sourceIdxs: number[][];
        xScale: string;
        yScale: string;
    }
    Index

    Properties

    seriesIdxs: number[]

    u.series index of each MAIDR row (one row except for a line layer).

    sourceIdxs: number[][]

    sourceIdxs[row][col] is the index into the series' data columns that the MAIDR point at (row, col) was read from. For a scatter layer there is one row, indexed by the layer's data index.

    xScale: string

    The scale the x values are drawn against.

    yScale: string

    The scale the y values are drawn against.