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

Error when hiding series of line polar chart using data module with CSV [5.0.3+] #6279

Closed
stpoa opened this issue Jan 21, 2017 · 2 comments
Closed

Comments

@stpoa
Copy link

@stpoa stpoa commented Jan 21, 2017

Expected behaviour

After clicking series in legend it should hide without problems

Actual behaviour

After clicking series in legend there is an error
Uncaught TypeError: Cannot set property 'index' of undefined at object.generatePoints (https://code.highcharts.com/5.0.3/highcharts.src.js:16732:33)

Live demo with steps to reproduce

5.0.7 | https://jsfiddle.net/j4mwoh1q/1/ (does not work)
5.0.2 | https://jsfiddle.net/j4mwoh1q/ (works ok)

  1. Click legend item to hide series
  2. Notice error in console
  3. Notice that chart doesn't scale to fit rest of series
@NickHatBoecker
Copy link

@NickHatBoecker NickHatBoecker commented Jan 23, 2017

The same goes for resizing a responsive webpage with this type of diagram. The series then is totally out of view.

Loading

@pawelfus
Copy link
Contributor

@pawelfus pawelfus commented Mar 16, 2017

It's a regression from 873aaa1

However, previous versions (e.g. 5.0.2) didn't work so good too (show and hide first series by legend multiple times).

Loading

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
3 participants