You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-10-01] Chart labels: rotate to 45° when they don't fit, fall back to horizontal bar chart #99939
Chart labels can overflow / overlap when there are too many categories to fit side by side on the horizontal axis. The labels become cramped and unreadable.
Requested behavior
Update the chart-generation logic so that:
Default: render labels horizontally (side by side) as today.
If labels won't fit side by side: rotate them to a 45° angle.
If they still won't fit even at 45°: switch the chart to a horizontal bar chart so the labels have room to render legibly.
Prior work
An earlier attempt was opened in #94882. That PR is stale and messy — the recommendation from its author is to start fresh rather than build on it.
Notes
This replaces an internal tracking issue so it can be worked on in the open. Reproduce with any report chart that has enough categories to crowd the x-axis.
@amyevans@situchan FYI we're working on very similar changes as part of the Insights project and have a PR ready to be merged #101435. I think we should avoid duplicating work as much as possible, so let's hold working on v2 until the PR I mentioned is merged.
changed the title [-]Chart labels: rotate to 45° when they don't fit, fall back to horizontal bar chart[/-][+][Due for payment 2026-10-01] Chart labels: rotate to 45° when they don't fit, fall back to horizontal bar chart[/+]on Sep 24, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.92-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-10-01. 🎊
The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]
Activity
melvin-bot commentedon Sep 22, 2026
Triggered auto assignment to @amyevans, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
amyevans commentedon Sep 22, 2026
PR is merged
melvin-bot commentedon Sep 23, 2026
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
melvin-bot commentedon Sep 23, 2026
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
jponikarchuk commentedon Sep 23, 2026
Deploy Blocker #102074 was identified to be related to the PR #101691 that attempted to fix this issue.
amyevans commentedon Sep 23, 2026
#102073 (comment)
luacmartins commentedon Sep 23, 2026
@amyevans @situchan FYI we're working on very similar changes as part of the Insights project and have a PR ready to be merged #101435. I think we should avoid duplicating work as much as possible, so let's hold working on v2 until the PR I mentioned is merged.
5 remaining items
[-]Chart labels: rotate to 45° when they don't fit, fall back to horizontal bar chart[/-][+][Due for payment 2026-10-01] Chart labels: rotate to 45° when they don't fit, fall back to horizontal bar chart[/+]melvin-bot commentedon Sep 24, 2026
@situchan
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.92-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-10-01. 🎊
The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]
melvin-bot commentedon Sep 29, 2026
@situchan Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Sep 30, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)melvin-bot commentedon Sep 30, 2026
Payment Summary
Resolving PRs:
Add horizontal bar fallback for crowded chart labels #101691
Reviewer: @situchan owed $175 via NewDot
BugZero Checklist (@mallenexpensify)
mallenexpensify commentedon Oct 3, 2026
Payment Summary
Contributor: @situchan due $250 via NewDot
Contributor+: @mkhutornyi due $250 via NewDot
Payment based on the above
trjExpensify commentedon Oct 15, 2026
approved $250 for @mkhutornyi
trjExpensify commentedon Nov 3, 2026
approved $250 for @situchan