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

Parcoords plot causes out of memory error or browser hang if data is all zeroes #4080

Closed
jonathonw opened this issue Jul 25, 2019 · 1 comment · Fixed by #4082
Closed

Parcoords plot causes out of memory error or browser hang if data is all zeroes #4080

jonathonw opened this issue Jul 25, 2019 · 1 comment · Fixed by #4082
Assignees

Comments

@jonathonw
Copy link

Parallel coordinates plots cause browser out of memory errors (on Chrome) or browser hangs (on Firefox) if a dimension's values are all zeroes and the dimension's range is not specified or also set to [0, 0].

Minimal example: https://jsfiddle.net/JonathonW/p5rj2uv4/8/

This issue is not reproducible if the range is explicitly set (to something other than [0, 0]), or if the dimension's values are non-zero (even if they are the same-- value: [1, 1] does not cause the same problem).

@archmoj
Copy link
Contributor

archmoj commented Jul 26, 2019

@jonathonw thanks for the report.
This is a 1.49.0 regression as your example works with previous versions codepen.
The browser stops here:

for(var i = tickRound; i < 0; i++) v += '0';
possibly to avoid an infinite loop.

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

Successfully merging a pull request may close this issue.

2 participants