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
Chart having a category with a very (!) long name takes minutes to load #5009
Here is a chart with a relatively long category name: http://jsfiddle.net/fnhktf82/
Here is the same chart, just with an even longer category name: http://jsfiddle.net/fnhktf82/2/
It seems to happen, when a certain length is hit.
It seems like problem in the
The best workaround for now is that your setup makes sure to not pass that long texts to the categories.
@KacperMadej I tried to use your workaround with
Yes, using that option fixes the drawing bug, but it leaves me with a not so useful html label that does not have the "built in" highcharts ellipsis etc. I tried to use CSS ellipsis, but it is not working properly.
Overflow and label positions are not calculated well (at all?) with HTML labels, you can even see this in your example: https://doc.enuvo.ch/40ac1dc7b2.png
Could someone at Highcharts please give any indication of when this drawing bug might be fixed?
The commits above improve the performance of multiline text in two ways: