MAIDR JavaScript API
    Preparing search index...
    • Name the group a Vega mark's elements are drawn in, and the element each one is drawn as.

      Vega draws a mark's items as the children of its group, one element each, in the order of the rows they are drawn from, so the row at a position is the group's child at that position. The groups are the ones buildSelector names the elements under.

      Parameters

      • mark: string

        The Vega-Lite mark

      • marks: readonly string[]

        The compiled names of the group its elements are drawn in

      Returns { marks: string; element: string }

      The group, as a selector list naming it under each name it can have, and the element's tag