-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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] OWRadviz: legible axis labels #3809
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3809 +/- ##
==========================================
- Coverage 84.77% 84.76% -0.01%
==========================================
Files 374 374
Lines 69172 69198 +26
==========================================
+ Hits 58640 58658 +18
- Misses 10532 10540 +8 |
In case of longer, multi-word labels, there is sufficient place to split the labels to, say, two lines, and end the label with ellipsis where there is an end of the word. For example, we could split "Gross national income (GNI) per capita" into Gross national or "Estimated gross national income per capita" into Estimated In this way the width of the labels can get short her. Currently, and in the example above, labels take much space making the graph smaller. Display of full text of the label when mouse-over is great and it should of course stay. |
* rotate variable labels * shorten labels to 20 characters * add tooltip for labels * limit number of selected variables
0e391be
to
715bef2
Compare
This looks way better. Another tiny request for change, though, before closing this PR: if the text appears on the left side of the circle than it should be right-aligned. This was irrelevant for the one-liners before. For instance, in the example above, "Gender development" on the bottom left should be right aligned. If this change is not difficult to make, please revise the PR. |
Issue
Fixes #3744
Description of changes
Includes