MAIDR JavaScript API
    Preparing search index...
    • Converts the props of one MUI X chart into MAIDR layers.

      A chart whose series declare a type other than kind -- the composition API (<ChartsContainer> with bar and line plots together) -- is not read: each series would be taken for the wrong mark. It converts to no layers, with a console warning, rather than to a misleading reading.

      Parameters

      • kind: MuiChartKind

        Which chart the props belong to

      • props: MuiChartProps

        The props the chart element was given

      • scope: string

        Selector prefix naming the chart's container, e.g. "#chart " (trailing space included), or "" for none

      Returns MuiConvertedChart

      The layers and, for multi-series charts, the legend