gsxdsm
cfddde5a45
FN-6699: fix Command Center chart rendering
Command Center charts now reserve enough geometry and wrapper size to render activity graphs reliably.
- Pad SVG line chart coordinates so endpoints and zero/max values do not clip at the viewBox edge.
- Give shared Recharts wrappers a default measurable height and import the shared chart CSS from Recharts chart components.
- Add regression coverage for chart wrapper sizing, non-clipped activity graph points, and the retained Mailbox mobile tab font-size rule.
- Add a patch changeset for the published Fusion package.
Files changed:
.changeset/fn-6699-command-center-charts.md | 5 ++++
packages/dashboard/app/components/MailboxModal.css | 4 +--
.../app/components/__tests__/MailboxModal.test.tsx | 2 +-
.../CommandCenter.mobile-chart-layout.test.ts | 1 +
.../command-center/__tests__/charts.test.tsx | 35 ++++++++++++++++++++--
.../command-center/areas/__tests__/areas.test.tsx | 32 ++++++++++++++++++++
.../components/command-center/charts/LineChart.tsx | 9 ++++--
.../components/command-center/charts/charts.css | 12 ++++++++
.../command-center/charts/recharts/LineChart.tsx | 4 +++
.../command-center/charts/recharts/PieChart.tsx | 4 +++
10 files changed, 100 insertions(+), 8 deletions(-)
Fusion-Task-Id: FN-6699
Fusion-Task-Lineage: 8227a7be-e855-462a-aa0d-368890398a4c
2026-06-19 06:21:11 -07:00
..
2026-06-18 13:41:37 -07:00
2026-06-14 22:43:49 -07:00
2026-06-19 06:04:20 -07:00
2026-06-19 06:21:11 -07:00
2026-06-16 22:29:07 -07:00
2026-06-16 15:08:24 -07:00
2026-06-19 05:02:29 -07:00
2026-06-19 05:50:13 -07:00
2026-06-16 18:09:46 -07:00
2026-06-17 06:12:06 +08:00
2026-06-08 15:19:27 -07:00
2026-06-14 22:43:49 -07:00