MAIDR JavaScript API
    Preparing search index...
    • Builds the MAIDR data for a chart rendered inside container, tagging the marks Nivo does not stamp itself.

      Parameters

      • container: HTMLElement

        The element the chart is rendered in

      • config: NivoAdapterConfig

        The chart's metadata, type and props

      • scope: string

        The chart's scope prefix, e.g. '#chart '

      • layers: NivoLayerInfo[] = ...

        The chart's layers, when already extracted from config

      Returns { data: Maidr; complete: boolean }

      The data, and whether every layer's marks were found