Skip to content
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

dataLabels with useHTML: true - throws error in Firefox #4881

Closed
KacperMadej opened this issue Dec 28, 2015 · 4 comments
Closed

dataLabels with useHTML: true - throws error in Firefox #4881

KacperMadej opened this issue Dec 28, 2015 · 4 comments
Labels

Comments

@KacperMadej
Copy link
Contributor

@KacperMadej KacperMadej commented Dec 28, 2015

In Firefox (Win7). When there are about 400 or more data points and dataLabels are enabled and useHTML is set to true, then the error is thrown after chart is loaded:

too much recursion

referring to this line of code

Example: http://jsfiddle.net/uvzj19be/1/

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Dec 28, 2015

Problem not appears in macOSX (10.11.1)

@dawid84
Copy link

@dawid84 dawid84 commented Feb 27, 2018

I can confirm this is occurring in Firefox on Win 7. And separately from the jsfiddle in our project running 5.0.3

@pawelfus
Copy link
Contributor

@pawelfus pawelfus commented Feb 28, 2018

The same issue on:

Windows 10 Pro, Version 10.0.16299.248
Firefox 58.0.2 (64-bit)

Works fine on osx.

@pawelfus pawelfus added the Type: Bug label Feb 28, 2018
@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Mar 6, 2018

Referring to this wrap statement, apparently it wraps multiple times:

highcharts/js/parts/Html.js

Lines 256 to 268 in 722bec5

// These properties are set as attributes on the SVG group, and
// as identical CSS properties on the div. (#3542)
each(['opacity', 'visibility'], function (prop) {
wrap(element, prop + 'Setter', function (
proceed,
value,
key,
elem
) {
proceed.call(this, value, key, elem);
style[key] = value;
});
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants