fix(chartcuterie): Format y-axis labels in Explore unfurl charts#112719
Merged
DominikB2014 merged 1 commit intomasterfrom Apr 10, 2026
Merged
Conversation
edwardgou-sentry
approved these changes
Apr 10, 2026
Y-axis labels now use the same formatting as the Explore page: - Large numbers are abbreviated (300,000 → 300K) - Duration values show units (5 → 5ms) - Sizes, rates, percentages are formatted appropriately Uses formatYAxisValue with the timeseries meta (valueType, valueUnit) to match the Explore page's formatter behavior. Fixes DAIN-1496 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9d0b4c6 to
e831ea0
Compare
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.
Explore unfurl charts were showing raw numbers on the y-axis (e.g.
300,000)instead of abbreviated values (
300K), and duration fields were missing units(showing
5instead of5ms).Adds a y-axis formatter using
formatYAxisValue— the same function theExplore page uses — which reads
valueTypeandvalueUnitfrom thetimeseries metadata to format labels appropriately for integers, durations,
sizes, rates, and percentages.
Fixes DAIN-1496