Collect every XY chart in the root's container tree, in depth-first
(insertion) order.
Recursion reaches charts nested inside intermediate containers — notably
am5stock StockPanels (which extend XYChart) inside a StockChart's
panels container. XYChartScrollbar subtrees are pruned before recursion:
a real scrollbar is a plain Scrollbar container (NOT chart-like itself)
whose child is a preview XYChart — descending into it would surface that
preview as a phantom panel (e.g. a scrollbar mounted in a StockChart's
toolsContainer, the standard am5stock pattern). Found charts are also not
descended into, so an in-chart scrollbar preview is never visited either.
Collect every XY chart in the root's container tree, in depth-first (insertion) order.
Recursion reaches charts nested inside intermediate containers — notably am5stock
StockPanels (which extendXYChart) inside aStockChart's panels container.XYChartScrollbarsubtrees are pruned before recursion: a real scrollbar is a plainScrollbarcontainer (NOT chart-like itself) whose child is a previewXYChart— descending into it would surface that preview as a phantom panel (e.g. a scrollbar mounted in a StockChart's toolsContainer, the standard am5stock pattern). Found charts are also not descended into, so an in-chart scrollbar preview is never visited either.