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

Series-label plugin issue with Area chart #7931

Closed
VBIManonmaniM opened this issue Feb 27, 2018 · 6 comments
Closed

Series-label plugin issue with Area chart #7931

VBIManonmaniM opened this issue Feb 27, 2018 · 6 comments
Labels

Comments

@VBIManonmaniM
Copy link

@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
Copy link
Contributor

@pawelfus 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 Type: Bug label Feb 27, 2018
@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Mar 5, 2018

That demo is not good for my blood pressure Pawel 😬

@chahat
Copy link

@chahat chahat commented Sep 6, 2019

http://jsfiddle.net/pejkrnma/1/

The serie label in area chart are getting displayed only when points are in clockwise order and not anticlockwise ..

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Sep 6, 2019

Hi @chahat,
By default series require sorted data by x ascending (except i.e scatter). (See the console, there is #15 error - refers to description here http://www.highcharts.com/errors/15)

@chahat
Copy link

@chahat chahat commented Sep 6, 2019

Hi @chahat,
By default series require sorted data by x ascending (except i.e scatter). (See the console, there is #15 error - refers to description here http://www.highcharts.com/errors/15)

I want to create 4 quadrants with series labels http://jsfiddle.net/pejkrnma/1/ .. Could you please give me a workaround ?? as maintaining x axis order gives me overlapping quadrants

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Sep 6, 2019

@chahat,
For the general support questions, please use forum / stackoverflow or email.

ps. you can consider to use treemap or heatmap

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