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

X-Axis labels with useHTML true sometimes compute bogus widths when auto-rotated #8789

Closed
rlm1023 opened this issue Aug 15, 2018 · 2 comments
Closed

Comments

@rlm1023
Copy link

@rlm1023 rlm1023 commented Aug 15, 2018

Expected behaviour

X-axis labels should only take up as much width as they need. Regardless of the status of auto-rotation and useHTML.

Actual behaviour

X-axis labels take up way too much space.

Live demo with steps to reproduce

If you play with the window size here:
https://jsfiddle.net/xuca79fr/35/

You can get this to happen:
screen shot 2018-08-15 at 09 19 23

Product version

Highcharts 6.1.1

Affected browser(s)

Reproduced in Chrome and Firefox.

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Aug 16, 2018

Hi @rlm1023,
Thank you for reporting.
Its a regression since v6.0.5.

Bisect leads to 6bf7ff5
Related topic: #7656

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Aug 22, 2018

Reliable repro with fixed widths: https://jsfiddle.net/highcharts/hqzfat7k/3/

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

Successfully merging a pull request may close this issue.

None yet
3 participants