MAIDR Documentation - v3.72.1
    Preparing search index...
    • Convert an amCharts 5 AmRoot into a MAIDR data object.

      The function walks the root's container tree, collects every XY chart (including am5stock StockPanels), and converts each one into a MAIDR subplot. A single chart produces a 1x1 grid; multiple charts are arranged in a grid mirroring their on-screen layout, rows ordered bottom-first so that pressing Up moves to the visually upper panel.

      Parameters

      • root: AmRoot

        The amCharts 5 Root instance.

      • Optionaloptions: AmChartsBinderOptions

        Optional overrides for title, subtitle, and axis labels.

      Returns Maidr

      A Maidr object ready for <Maidr data={...}>.

      If no supported chart is found inside the root, or if no chart contains a supported series with data.