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

Highcharts - textOverflow ellipsis for axis titles not working in 5.0 as it did in 4.2.7 #6778

Closed
pavaleanuL opened this issue May 30, 2017 · 4 comments
Assignees
Milestone

Comments

@pavaleanuL
Copy link

@pavaleanuL pavaleanuL commented May 30, 2017

Expected behaviour

When the title for the y axis is long, using overflow - hidden, textOverflow - ellipsis and setting a width would make the title look ok - as in http://jsfiddle.net/0qdyqh3h/1/ (which is using 4.2.7)

Actual behaviour

With version 5, setting these styles have no effect - http://jsfiddle.net/0qdyqh3h/
I have tried several stylings, even with css and could not fix this.

Live demo with steps to reproduce

http://jsfiddle.net/0qdyqh3h/

Affected browser(s)

@pawelfus
Copy link
Contributor

@pawelfus pawelfus commented May 30, 2017

Thank you for reporting this issue.

Internal note:
It's broken since 5.0.10, responsible commit: 65eea38

@pavaleanuL
Copy link
Author

@pavaleanuL pavaleanuL commented May 30, 2017

Is there a workaround we can use, or we have to wait until it is fixed in a later release?

Thank you.

@pawelfus
Copy link
Contributor

@pawelfus pawelfus commented May 30, 2017

For now, I suggest to use 5.0.10 version if you need this design, I don't see any better workaround.

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Jun 12, 2017

@pavaleanuL as a workaround, set useHTML flag as true in the yAxis.title.

Demo:

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
5 participants