-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Consistent text mode for bar-like & pie-like traces and feature to control text orientation inside pie/sunburst slices #4420
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
0d3e289
add uniformtext attributes to layout
archmoj c095271
simplify transform function and expand to reuse in pie and sunburst
archmoj b234d7a
implement uniformtext for bar-like traces as well as funnelarea and t…
archmoj f0ac957
implement uniformtext and insidetext-orientation for pie and sunburst
archmoj 4d5fb3d
add new mocks to test insidetextorientation and uniformtext
archmoj a27dc29
Consider first review
archmoj 1479943
make tangential go towards noon and 6 and make radial go towards 3 and 9
archmoj eab205a
rewrite uniform text style
archmoj 5348c58
add new mocks cases by Nicolas
archmoj 15ce24d
apply zero scale for hiding text elements
archmoj 0840d82
add new mocks using both inside-text-orientation and uniformtext
archmoj 328ffd0
move reposition logic outside pie transformInsideText function
archmoj 2a31685
apply next text position when it is not at the center
archmoj d1b50b1
Apply polar coordinates to move text inside the slice during sunburst…
archmoj 2cb5687
sunburst handle no text when using various inside-text-orientation op…
archmoj beed042
add react tests for treemap and pie uniform text as well as inside te…
archmoj 51d7e1b
add tests for updating text positions using different inside-text-pos…
archmoj 603e0cc
wip
etpinard 8784274
first attempt at fixing tests on etpinard's laptop
etpinard 2686c46
Fix funnelarea, pie, sunburst and treemap tests
archmoj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.