Skip to content

Add per-category stacked areas to the dashboard value chart - #54

Merged
maximecd merged 1 commit into
mainfrom
feat/history-area-chart-by-category
Aug 29, 2026
Merged

maximecd merged 1 commit into
mainfrom
feat/history-area-chart-by-category

Conversation

@maximecd

@maximecd maximecd commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Return a per-asset-category breakdown (stocks_etfs, crypto, cash, other) with every PortfolioHistoryPoint from the engine, so the dashboard can chart composition over time without extra requests.
  • Render the dashboard portfolio value chart as a stacked area chart with one area per category, plus a legend that only lists categories present in the selected range.
  • Reuse the allocation treemap palette: the chart takes the categoryAllocation ranking and applies the same hue order, so the biggest category is blue in both charts.

Testing

  • pnpm check (migrations, lint, format, typecheck) passes.
  • apps/engine portfolio tests (12) and apps/web dashboard/portfolio-history tests (8) pass.

@maximecd
maximecd merged commit 2312e82 into main Aug 29, 2026
4 checks passed
@maximecd
maximecd deleted the feat/history-area-chart-by-category branch October 27, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant