MAIDR JavaScript API
    Preparing search index...
    • Reads a Nivo chart's props into the layers MAIDR navigates.

      Pure: nothing here touches the DOM. How each layer's marks are found is carried alongside it in marks, for the selector pass to resolve.

      Parameters

      • type: NivoChartType

        Which Nivo chart the props belong to

      • props: Props

        The chart's props

      Returns NivoLayerInfo[]

      The layers, in the order they are navigated; empty when the props hold no data