Hello again!
I'm fiddling with changing chart type on click in a React project and I can't get it to work properly.
It's basically something like this, where I try to push a new type with the update flag.
https://codesandbox.io/s/z28xnm1n43
And I'm not sure what's wrong here. It logs this.refs.highCharts as expected but I can't seem to update the type, getting an error (in this case, series is undefined) etc.
Any ideas?
(What I want to do is to have the bar switch between line and column upon button clicks).