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

Responsive rules for plotOptions.series causes error #6208

Closed
morganfree opened this issue Jan 5, 2017 · 1 comment
Closed

Responsive rules for plotOptions.series causes error #6208

morganfree opened this issue Jan 5, 2017 · 1 comment

Comments

@morganfree
Copy link
Contributor

@morganfree morganfree commented Jan 5, 2017

Expected behaviour

In responsive rules plotOptions.series changes chart's options correctly, like e.g. plotOptions.line http://jsfiddle.net/hsd19y0y/1/

Actual behaviour

The chart throws error Uncaught TypeError: Cannot read property '0' of undefined
Responsible part of code here
It assumes that the plotOptions.series should be a series array.

Live demo with steps to reproduce

http://jsfiddle.net/hsd19y0y/2/

  1. Click 'Small' button
  2. Open console
@KacperMadej
Copy link
Contributor

@KacperMadej KacperMadej commented Jan 5, 2017

Similar problem, caused by the same issue, happens if we change axis (y or x) number for series:
http://jsfiddle.net/hsd19y0y/4/
Steps as before.
Difference: error 18 is being thrown, while the config is correct.

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

Successfully merging a pull request may close this issue.

None yet
2 participants