The same answer for each panel of a grid, in its row-major order.
Which axis carries the categories follows the orientation, and in subplot
mode that is the panel's — buildPanelSubplot resolves it as
panel.orientation ?? config.orientation. Asking every panel with the
grid's own answer reads reversed off the wrong axis component for any
panel that overrides it: the un-reversed one answers false, the payload
and the selectors are left as written, and the reader is walked through the
categories the opposite way to the way the panel draws them (#1017). The
mirror case is worse still — a reversed value axis turning a payload round
that should have been left alone.
A child with no panel of its own falls back to the grid's orientation, which
is also what buildPanelSubplot does with a panel that declares none.
Parameters
children: ReactNode
One chart per panel, in the grid's row-major order
The same answer for each panel of a grid, in its row-major order.
Which axis carries the categories follows the orientation, and in subplot mode that is the panel's —
buildPanelSubplotresolves it aspanel.orientation ?? config.orientation. Asking every panel with the grid's own answer readsreversedoff the wrong axis component for any panel that overrides it: the un-reversed one answersfalse, the payload and the selectors are left as written, and the reader is walked through the categories the opposite way to the way the panel draws them (#1017). The mirror case is worse still — a reversed value axis turning a payload round that should have been left alone.A child with no panel of its own falls back to the grid's orientation, which is also what
buildPanelSubplotdoes with a panel that declares none.