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
Title not consistent when xAxis label shortened #7179
Labels
Comments
Hi @zbycz Workaround Demo: Based on solution from buildText method:
|
Hi @zbycz You are right, it should be consistent. Workaround:
|
Thanks for the help. |
Demo with the fix applied: http://jsfiddle.net/highcharts/nhgh1Lz9/3/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
Shortened xAxis label displays the same text in label and its title including html entities.
Actual behaviour
Html entities for title are not processed.
Note, they are processed for the label by this method:
highcharts/js/parts/SvgRenderer.js
Lines 2357 to 2358 in 1ecd7de
You should probably extend this section of titleSetter() method:
highcharts/js/parts/SvgRenderer.js
Lines 1768 to 1769 in 1ecd7de
Live demo with steps to reproduce
Hover over the first label on xAxis
http://jsfiddle.net/nhgh1Lz9/
Affected browser(s)
Chrome 61 on macos
Related issue
#3276
The text was updated successfully, but these errors were encountered: