MAIDR Documentation - v3.73.0
    Preparing search index...
    • Invokes callback once EVERY given chart has fired its 'ready' event.

      Each Google chart fires 'ready' independently, so a multi-panel figure must not be assembled until all panels have rendered. Register the gate before calling chart.draw(…) on any of the charts.

      Parameters

      • charts: readonly GoogleChart[]

        The chart instances to wait for.

      • events: GoogleEvents

        The Google Charts event helper, google.visualization.events.

      • callback: () => void

        Invoked once, after every chart has fired 'ready'.

      Returns void

      whenGoogleChartsReady(charts, google.visualization.events, buildMaidr);
      charts.forEach((chart, i) => chart.draw(dataTables[i], drawOptions[i]));