We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Somehow there looks to be a change to the onZoomComplete function.
In 1.0.0-beta.1 I have to use this (with curly brackets):
onZoomComplete: function ({ chart }) { showHideZoomButton(chart); } function showHideZoomButton(chart) { document.querySelector('.resetZoomButton').style.display = (chart.scales.x.options.min != 0 || chart.scales.x.options.max != 0 || chart.scales.y.options.min != 0 || chart.scales.y.options.max != 0) ? 'block' : 'none'; }
In 1.0.0-beta.2 I have to use this (without curly brackets):
onZoomComplete: function (chart) { showHideZoomButton(chart); }
Is there any logic to this, or am I doing something wrong?
Originally posted by @KoalaBear84 in #464 (comment)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Somehow there looks to be a change to the onZoomComplete function.
In 1.0.0-beta.1 I have to use this (with curly brackets):
In 1.0.0-beta.2 I have to use this (without curly brackets):
Is there any logic to this, or am I doing something wrong?
Originally posted by @KoalaBear84 in #464 (comment)
The text was updated successfully, but these errors were encountered: