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

Comments

Projects
None yet
2 participants
@morganfree
Contributor

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

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Jan 5, 2017

Contributor

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.

Contributor

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