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
I have an issue with the display name alignment on the plots. #17148
Comments
Hi @rajasekar-pb, thanks for creating the issue! I wasn't able to reproduce the bug: https://jsfiddle.net/BlackLabel/y1ve3bqd/ |
Hello @pawellysy , thanks for the quick reply... Updated fiddle: https://jsfiddle.net/RajasekarPB/0kfyxdov/ |
Thanks for creating the demo. I managed to reproduce it on my machine, but the problem appears when changing the width of the window, not when toggling the visibility of the items on the tree grid Axis. Nevertheless, it is a bug. |
Hello @pawellysy any update on this item ... |
Hello @rajasekar-pb, Sorry, but we didn't prioritize this issue yet. I will add it higher in our development flow. |
Hello @pawellysy any update on this item ... its been an year ... hope to get a positive reply asap ... |
We will try to thoroughly investigate it and will let you know what we find out. |
Reliable reproduction: https://jsfiddle.net/highcharts/v2c79qsj/ The shortened "Create unit tests" label has bad vertical alignment. |
The vertical alignment fails because when the ellipsis logic totally removes the text (because it's too short), the height of the bounding box becomes 10. Which is the top and bottom padding combined. Then when the user script runs The label re-formatter code is not in our repo, so I don't know where it comes from or who wrote it. But I do think we should offer a native option to limit the label width to the task width. WorkaroundMake sure the text doesn't fully disappear: https://jsfiddle.net/highcharts/v2c79qsj/2/ |
Workaround 2Override the xrange to always set data label width: https://jsfiddle.net/highcharts/v2c79qsj/4/ |
Data label width and the optional ellipsis are now supported natively on the master. See https://jsfiddle.net/highcharts/v2c79qsj/6/ |
hello @TorsteinHonsi, Thanks for the fix... |
Hi @rajasekar-pb! The changes here don't affect the |
Expected behaviour
the name should be aligned with the plot.
Actual behaviour
When i collapse the grouping, the name sometimes miss align with the plot.
Live demo with steps to reproduce
Demo Video: https://www.screencast.com/t/bYNmEW619lpm
Product version
highcharts: 9.2.2
highcharts-angular: 2.10.0
Affected browser(s)
Google Chrome
Version 100.0.4896.60 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: