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
Chart update is triggered using out of date options See reproduction
https://stackblitz.com/edit/github-sqadrd?file=src%2FApp.vue
^4.0.0
^5.0.0
No response
The text was updated successfully, but these errors were encountered:
Meanwhile the workaround is
watch(() => chartOptions, () => { const { value: { chart }} = chartRef if (!chart) return nextTick(() => { chart.update() }) })
Sorry, something went wrong.
Use nextTick to apply chart props change (#1045)
eefcfa3
* Use nextTick to apply chart props change Related to #1043 * Add nextTick import
596e71d
* Use nextTick to apply chart props change Related to apertureless/vue-chartjs#1043 * Add nextTick import
dcee877
No branches or pull requests
Would you like to work on a fix?
Current and expected behavior
Chart update is triggered using out of date options
See reproduction
Reproduction
https://stackblitz.com/edit/github-sqadrd?file=src%2FApp.vue
chart.js version
^4.0.0
vue-chartjs version
^5.0.0
Possible solution
No response
The text was updated successfully, but these errors were encountered: