-
Notifications
You must be signed in to change notification settings - Fork 4
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
Avoid overlapping of category labels #3
Comments
If text labels are getting long, as a standard in Spotfire the text is truncated and three dots added. "United States of America" would be then depending on the available witdth "United States of Am...". In CSS this can be done with setting max-width: 100px; and text-overflow: ellipsis; for the three dots ..., but not sure how this works in SVG test. const ELLIPSIS = '\u2026'; |
Another example of misplaced label from #18 |
Any help here Holger? I'm still having this issue and in this case I don't see any reason of this because labels are extremely shorts. |
I have done a little change regarding rendering of labels. It does not solve the general issue of overlapping labels, but might solve your special problem here. Please check out latest version from main. |
Fantastic. Now it's perfect for this issue from my side. Thanks a lot. |
In case of limited windows size or in case of long category labels, then the labels in the Sankey diagram can overlap.
The text was updated successfully, but these errors were encountered: