A total can hide a change in where work comes from. Two months with the same number of orders may have quite different contributions from direct and partner channels. Stacking those contributions makes the total and its composition visible together.
That only works when the channels partition the same measure. If an order is counted in both channels, the top of the stack overstates total orders.
Compose example
Keep both channel counts with their period so that sorting or filtering cannot separate values from their labels. The application should supply validated, non-negative display values for the same reporting window.
Enable the charts feature. The matching stack(&str) values make the two BarSeries add within each category. The key is internal; user-visible series names and period labels come from the parent and can be translated.
What this comparison does not show well
The bottom segment has a shared baseline, whilst the partner segment starts at a different height in each period. If the task is to compare partner volume precisely, use grouped bars or a separate series view. Do not make the reader infer a small segment's change from a large total.
Provide the source counts and totals in an accessible table. Series colours help separate segments, but the legend and text must preserve their identity without colour.
Checks
Test that each stack total agrees with the independently calculated order total, and that channel assignment does not double-count orders. Inspect the rendered chart with long period labels and the expected number of channels. The gallery screenshot uses fixture data, not the component's props.