Removing colorAxis #6488
Closed
Removing colorAxis #6488
Labels
Comments
If we replace the failing code in if (H.isArray(chart.options[key])) {
chart.options[key].splice(this.options.index, 1);
} else {
delete chart.options[key];
} |
Thanks @sebastianbochan. FYI, I modified your fix by removing the legend item belonging to the color axis, not the whole legend. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Behaviour
Trying to remove colorAxis results in ‘chart.options[key].splice is not a function’ error.
Live demo
http://jsfiddle.net/d_paul/agj45fas/
The text was updated successfully, but these errors were encountered: