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
Chart having a category with a very (!) long name takes minutes to load #5009
Comments
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. |
Is there any update on this? We are still facing this issue in v6.1.1. |
As a workaround you could set The problem: ~5 seconds to render The workaround: <0.2 seconds to render |
@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? |
I'm working on this now, implementing a binary search for line wraps instead of the ineffective linear search. Expecting results tomorrow. |
…gLength` to measure spans instead of `getBBox`. See #5009.
The commits above improve the performance of multiline text in two ways:
Results
|
Hi,
Here is a chart with a relatively long category name: http://jsfiddle.net/fnhktf82/
No problem, everything works fine.
Here is the same chart, just with an even longer category name: http://jsfiddle.net/fnhktf82/2/
Takes minutes to load, in every browser we tested.
It seems to happen, when a certain length is hit.
Any ideas?
Best,
Lionel
The text was updated successfully, but these errors were encountered: