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

Comments

Projects
None yet
5 participants
@KacperMadej
Contributor

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

This comment has been minimized.

Contributor

sebastianbochan commented Dec 28, 2015

Problem not appears in macOSX (10.11.1)

@dawid84

This comment has been minimized.

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

This comment has been minimized.

Contributor

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 Bug label Feb 28, 2018

@TorsteinHonsi

This comment has been minimized.

Collaborator

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