MAIDR JavaScript API
    Preparing search index...
    • A cheap signature of what the chart has drawn: whether there is an svg (or only a canvas) and how many elements of its own the svg holds.

      A pass that could not name every layer's marks is only worth repeating once this changes. Without it, a layer that never resolves — a *Canvas chart, a pie laid out by value, nodes that never match their count — would have every later mutation in the container re-run the whole pass, and Nivo mounts its tooltip inside that container on every hover. The tooltip lives outside the svg, and MAIDR's own copies are not counted, so neither changes the signature.

      Parameters

      • container: HTMLElement

        The chart's container

      Returns string

      The signature