HTML DataLabels and refreshing without any cause javascript exception #6418
Labels
Comments
@Dunge Thanks for reporting, we will fix this as soon as possible. Internal Note: Fails on Html.js L320 because there is a |
@jon-a-nygaard Any updates on a fix for this? Thanks! |
The root cause is that the SVG group has a HTML counterpart, and while the HTML counterpart is deleted, the SVGWrapper's overridden |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Me again with another obscure issue.
I use a conditional HTML dataLabels to display an image depending on the value of a point.
Sometimes, when I pass from a chart with dataLabels present to a chart without any, I get a javascript exception:
This only happens on these conditions:
Expected behavior
No error
Actual behavior
Exception thrown
Live demo with steps to reproduce
http://jsfiddle.net/gts29eq7/1/
Click the button.
Affected browser(s)
All
Workaround
I know I can return an empty string instead of null in the dataLabels, but this cause massive slowdown with many points.
I can also disable useHTML, but then I can't display pictures.
As a side note, your github new issue template have a typo in "behavior" (behaviour)
The text was updated successfully, but these errors were encountered: