Internal
Builds the subplot grid for one chart: a multi-pane chart becomes one subplot per detected pane; everything else keeps the single-subplot path.
Builds the subplot grid for one chart: a multi-pane chart becomes one subplot per detected pane; everything else keeps the single-subplot path.