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

Series-label plugin issue with Area chart #7931

Closed
VBIManonmaniM opened this Issue Feb 27, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@VBIManonmaniM

VBIManonmaniM commented Feb 27, 2018

Expected behaviour

When I am re-rendering the Areachart and series-label.js plugin with setInterval function it should run without any error in the console.

Actual behaviour

But while I am running I am getting the following error frequently but not all the times:

Uncaught TypeError: Array.prototype.forEach called on null or undefined
at forEach ()
at a.each (highcharts.js:formatted:528)
at a.Chart.A.drawSeriesLabels (VM320 series-label.js:formatted:197)
at VM320 series-label.js:formatted:49

Live demo with steps to reproduce

http://jsfiddle.net/g98dk2x7/7/

Product version

Highcharts

Affected browser(s)

All browsers

@pawelfus

This comment has been minimized.

Contributor

pawelfus commented Feb 27, 2018

Hi @VBIManonmaniM

Thank you for reporting this bug. I was able to recreate the issue when clicking on legend items very fast - sometimes, during initial animation, I was able to get this error.

Simplified demo: http://jsfiddle.net/g98dk2x7/17/

@pawelfus pawelfus added the Bug label Feb 27, 2018

@TorsteinHonsi

This comment has been minimized.

Collaborator

TorsteinHonsi commented Mar 5, 2018

That demo is not good for my blood pressure Pawel 😬

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