## What - Expanding a category on the Sankey chart now **collapses any other open category**, so only one subcategory column is shown at a time. - Grow the SVG \`viewBox\` to the real content bounds so tall child stacks no longer get **clipped above or below** the canvas. ## Why Multiple simultaneously-expanded categories cluttered the chart, and a parent with 3+ children produced a stack taller than the canvas — the top entries were cut off (e.g. "Traveling €2,011" rendered half-hidden). ## Tests - Added a test asserting opening a second parent collapses the first. - Existing expand/collapse tests still pass (5/5). |
||
|---|---|---|
| .. | ||
| cashflow-trend-chart.tsx | ||
| chart-currency-toggle.test.tsx | ||
| chart-currency-toggle.tsx | ||
| chart-granularity-toggle.tsx | ||
| chart-settings-popover.tsx | ||
| chart-view-toggle.tsx | ||
| index.ts | ||
| mom-chart.tsx | ||
| mom-percent-chart.tsx | ||
| sankey-chart.test.tsx | ||
| sankey-chart.tsx | ||