MAIDR JavaScript API
    Preparing search index...
    • Stamps a chart's per-datum marks and returns the ways they can be addressed.

      The marks of every series are found together, because they are painted the same way and only their order tells them apart -- so the total is checked once, against what every series says it drew, and a mismatch drops the highlighting for the whole chart.

      Parameters

      • container: HTMLElement

        The element the chart was rendered into

      • drawn: number[]

        How many marks each series drew, in series order

      Returns DatumMarks | undefined

      The addresses of the stamped marks, or undefined when the drawing does not match what the model described