Conversation
…ar charts Categorical bar charts should always show the first and last category labels on the X-axis. Unlike time series charts where these are hidden to avoid visual congestion with dates, categorical labels are important for understanding the data at a glance.
...pp/views/dashboards/widgets/categoricalSeriesWidget/categoricalSeriesWidgetVisualization.tsx
Show resolved
Hide resolved
nsdeschenes
approved these changes
Feb 3, 2026
jaydgoss
pushed a commit
that referenced
this pull request
Feb 12, 2026
…ar charts (#107448) Ensures the first and last category labels are visible on the X-axis of categorical bar charts, if appropriate. We turn those off completely for time series widgets to prevent congested X axis labels, but for category charts that doesn't make sense! Instead, let ECharts sort it out. Also, improved a type where I was at it. `BaseChart`'s `xAxis` is a little different. **Before:** <img width="775" height="196" alt="Screenshot 2026-02-02 at 4 55 44 PM" src="https://github.com/user-attachments/assets/8228c175-d216-4965-b8ef-40815ba70128" /> **After:** <img width="808" height="212" alt="Screenshot 2026-02-02 at 5 11 31 PM" src="https://github.com/user-attachments/assets/b4f9e8a6-9014-4174-8321-485acbad496b" />
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ensures the first and last category labels are visible on the X-axis of categorical bar charts, if appropriate. We turn those off completely for time series widgets to prevent congested X axis labels, but for category charts that doesn't make sense! Instead, let ECharts sort it out. Also, improved a type where I was at it.
BaseChart'sxAxisis a little different.Before:

After:
