Skip to content
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

Wrong position of long data labels when dataLabels.useHTML = true in treemap series #18212

Closed
jszuminski opened this issue Dec 28, 2022 · 0 comments · Fixed by #18235
Closed
Assignees

Comments

@jszuminski
Copy link
Contributor

Expected behaviour

Long data labels with series.dataLabels.useHTML: true in treemap should be middle-aligned just like shorter data labels.

Actual behaviour

Long data labels with series.dataLabels.useHTML: true in treemap are initially positioned in the wrong position (shifted up a little bit).

Live demo

Demo: https://jsfiddle.net/BlackLabel/gztqdyca/

Product version

Highcharts 10.3.2

Workaround

Fire chart.reflow() in the chart.events.load callback function.
Demo: https://jsfiddle.net/BlackLabel/ghsmLxpf/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants