fix(chartcuterie): Stack grouped bar charts in unfurls#113177
Merged
DominikB2014 merged 1 commit intomasterfrom Apr 16, 2026
Merged
fix(chartcuterie): Stack grouped bar charts in unfurls#113177DominikB2014 merged 1 commit intomasterfrom
DominikB2014 merged 1 commit intomasterfrom
Conversation
Bar charts rendered by chartcuterie for Slack unfurls were not stacking grouped series, unlike the equivalent charts in Explore and Dashboards. Pass a shared stack key to the plottable when rendering grouped series so Bars plottables stack under a single column per x-tick. Refs DAIN-1536 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
edwardgou-sentry
approved these changes
Apr 16, 2026
3 tasks
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.
Grouped bar charts rendered by chartcuterie for Slack Explore/Dashboards unfurls were not stacking, so each group rendered as its own side-by-side bar instead of accumulating into one column per x-tick. This didn't match how the equivalent charts render in Explore or Dashboards.
Pass a shared
stackkey to the plottable when rendering grouped series, matching Explore'schartVisualization.tsxwhich also passesstack: 'all'. ECharts stacks every series that shares the samestackstring, so all series in a given chart accumulate into a single stack per x-tick.Only the grouped branch needs the change — the single-series branch renders one series and has nothing to stack.
Refs DAIN-1536