MAIDR JavaScript API
    Preparing search index...

    Function countAxesGroups

    • Counts a chart's <g id="axes_*"> panel groups. The figure's layout and the panel outline both decide from this count whether a chart has several panels, so they read the same one.

      Parameters

      • roots: readonly QueryRoot[]

        Where the chart is drawn.

      Returns number

      How many panel groups the chart has.