Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ (scatter) add unit to axis labels #4334

Closed
wants to merge 2 commits into from

Conversation

sophiamersmann
Copy link
Member

@sophiamersmann sophiamersmann commented Dec 18, 2024

Should work, but I'd prefer to use the TextWrapGroup's 'avoid-wrap' functionality to only add line breaks for the unit it necessary. To be able to use TextWrapGroup for axis labels, TextWrapGroup should support DoD's (since axis labels might contain DoDs)

Copy link
Member Author

sophiamersmann commented Dec 18, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@owidbot
Copy link
Contributor

owidbot commented Dec 18, 2024

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-scatter-axis-labels-unit

SVG tester:

Number of differences (default views): 404 (732f3f) ❌
Number of differences (all views): 339 (f2ca6f) ❌

Edited: 2024-12-19 15:56:17 UTC
Execution time: 1.33 seconds

@sophiamersmann sophiamersmann force-pushed the scatter-axis-labels-unit branch from 3863b52 to 780f025 Compare December 19, 2024 10:16
@Marigold Marigold added the staging-viz Let SVG tester fail silently in CI label Dec 19, 2024
@sophiamersmann sophiamersmann force-pushed the scatter-axis-labels-unit branch from 780f025 to b9a2e70 Compare December 19, 2024 15:26
@sophiamersmann sophiamersmann force-pushed the scatter-axis-labels-unit branch from b9a2e70 to 49cf3b5 Compare December 19, 2024 15:31
Base automatically changed from axis-labels-time-viz to master December 20, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staging-viz Let SVG tester fail silently in CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants