## Summary - Sorts stacked chart accounts by descending average balance across all data points, so the largest accounts sit at the bottom of the chart and smaller ones appear on top. - Uses the per-account average (rather than any single period's balance) to guarantee a consistent ordering across every month/day in the chart — no mixing of order between periods. - Applies to both monthly (`StackedBarChart`) and daily (`StackedAreaChart`) granularities since they share the same `dataKeys`. |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| views | ||