Skip to content

fix: prevent long bar chart category labels from overlapping - #127

Merged
robinvrd merged 2 commits into
mainfrom
robin/fix-bar-chart-label-overlap
Oct 30, 2026
Merged

robinvrd merged 2 commits into
mainfrom
robin/fix-bar-chart-label-overlap

Conversation

@robinvrd

@robinvrd robinvrd commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Long bar chart category names could spill into neighboring columns. Constrain labels to their column widths and truncate with an ellipsis, while preserving full names in hover and accessible readings and keeping action menus usable.

Adds regression coverage for long labels with and without actions at desktop/mobile widths in light and dark themes.

Validation: bun run check passed with Bun 1.4.4 and Node 24.18.0 (1,028 tests), including package and starter checks.

Before and after

Same fixture data and dimensions, rendered with the original component and the fix.

Before

Before: overlapping category labels

After

After: labels truncate within their columns

Comment thread docs/ui.md Outdated
Comment on lines +155 to +156
Bar category labels truncate to fit their columns; hover a bar to read its full
category name and value.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's more of a user instruction than for the authoring agent, no?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arg yes

@robinvrd
robinvrd merged commit 27f9b89 into main Oct 30, 2026
6 checks passed
@robinvrd
robinvrd deleted the robin/fix-bar-chart-label-overlap branch October 30, 2026 10:35
robinvrd pushed a commit that referenced this pull request Nov 3, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.75.0](v0.74.0...v0.75.0)
(2026-11-03)


### Features

* add host-controlled external navigation
([#130](#130))
([f254243](f254243))
* add relative datetime ranges and picker comparisons
([#131](#131))
([bdf8a58](bdf8a58))
* **embed:** keep repair feedback consistent through app updates
([#121](#121))
([eeb8b32](eeb8b32))


### Bug Fixes

* enforce query row ceiling and preserve routing errors
([#123](#123))
([e740c76](e740c76))
* prevent long bar chart category labels from overlapping
([#127](#127))
([27f9b89](27f9b89))
* **react:** harden tooltip interactions
([#126](#126))
([9f73507](9f73507))
* **react:** use a static widget loading label
([#124](#124))
([2b51407](2b51407))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: altertable-release[bot] <345426372+altertable-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants