Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Polar chart axis label does not respect `nowrap` #5689
In a polar chart with very long axis labels, I would like to control line wrapping myself, instead of default Highcharts behavior. To do so, I configure the chart with
So I expect Highcharts to render labels in SVG (not HTML) while respecting my
But instead, the first
It seems there is two wrong things. First according to my understanding of the docs, Highcharts should never introduce a line break when
Live demo with steps to reproduce
Chrome, Firefox (and most likely all others)
It looks like default options for radial xAxis and standard xAxis are different:
In other words, to get the same result simply setting
Thanks for your quick replies. I think the fixed applied is a good thing, but it does not really address the original issue. If we take into account what you said, then I'd say that when both options are used (
But the actual result didn't change and is still:
Why line breaks where introduced when I specifically asked to do nothing at all ?
Maybe if I had a way to specify the width of the labels, I could workaround this bug. But I am not aware of any way to increase the labels width. Is there any ?