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

colorAxis.update doesn't change chart.options.colorAxis #3936

Closed
perkyguy opened this Issue Mar 4, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@perkyguy

perkyguy commented Mar 4, 2015

Found while trying to export a heat map after changing the settings. I had submitted a
SO Question, then found the answer after digging around a little.

Line 15467 of highcharts.src.js assumes chart.options[this.coll] is an array. However, chart.options.colorAxis is not an array, thus the options never get updated during the update call.

As I mention in the SO answer, this can be fixed if a conditional is thrown in which updates either the indexed object or the object itself.

Initial Issue jsfiddle

@KacperMadej KacperMadej added the Bug label Mar 9, 2017

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Mar 9, 2017

Contributor

+1

Adding 'colorAxis' to the array in chart update function seems to be resolving the problem.

Contributor

KacperMadej commented Mar 9, 2017

+1

Adding 'colorAxis' to the array in chart update function seems to be resolving the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment