MAIDR JavaScript API
    Preparing search index...
    • Whether Vega-Lite lays points or a line over a unit view's mark, which makes the view a layer of its path and the overlay, named as the view would be had it declared no name (vega-lite normalize/pathoverlay, hasMatchingType): points over a line, a rule, a trail or an area that asks for them in its mark def, in the chart's config for its mark, or by binding shape, and a line along an area that asks for one either way.

      Read from the spec alone: a config handed to vegaEmbed itself is not seen.

      Parameters

      • spec: VegaLiteSpec

        The view

      • config: Record<string, unknown> | undefined

        The chart's config

      Returns boolean

      True when the view is drawn with an overlay