MAIDR Documentation - v4.4.0
    Preparing search index...

    Interface PointCloudHighlightable

    Interface for traces whose highlight is a set of individual data points rather than a position on a row/column grid.

    A scatter-family trace navigates five different index spaces (x-bucket, y-bucket, flat point, grid cell, in-cell x-group), so no single row/column pair can name what it has selected. It publishes the selection as indices into its layer's data array instead — the one currency the producing adapter already shares with the model, since the adapter built that array.

    This is what lets a canvas chart draw a highlight: it has no SVG elements to select, so the element-based highlight path cannot reach it, and an adapter that reconstructed the model's binning would drift from it silently.

    interface PointCloudHighlightable {
        highlightedPointIndices: readonly number[];
    }

    Implemented by

    Index

    Properties

    highlightedPointIndices: readonly number[]

    Indices into the layer's data array of the currently highlighted points.