-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fix restored layout of graph of categorical axis #1589
Conversation
* The categorical axis computes its desired extent based on whether there is a collision of categories if the category text is laid out parallel to the axis. We had been attempting to use the layout's multiscale's scale, which does (eventually) compute a bandwidth, but not in time for the initial render. So we do it a bit more brute force from the axis length and number of categories.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1589 +/- ##
==========================================
+ Coverage 84.86% 84.98% +0.11%
==========================================
Files 592 592
Lines 29874 29874
Branches 7642 8127 +485
==========================================
+ Hits 25353 25387 +34
+ Misses 4366 4157 -209
- Partials 155 330 +175
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
codap-v3 Run #4947
Run Properties:
|
Project |
codap-v3
|
Branch Review |
main
|
Run status |
Passed #4947
|
Run duration | 08m 53s |
Commit |
85f1cba175: Merge pull request #1589
|
Committer | William Finzer |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
47
|
Skipped |
0
|
Passing |
219
|
View all changes introduced in this branch ↗︎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
Fix restored layout of graph of categorical axis
[#188403674] Bug fix: Layout of graph axis not correct on restore