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
The value of the pie chart updates properly but the color does not. Any way to force a redraw?
data () { return { data: '100/100', fillColor: 'green' } },
mounted() { setTimeout(() => { this.data = '50/100' this.fillColor = 'red' }, 1000); },
The text was updated successfully, but these errors were encountered:
Managed to fix by updating the watch method in Peity.vue:
watch: { data (val) { this.$nextTick(() => { this.chart.raw = val this.chart.draw() }) }, **options (val) { this.$nextTick(() => { this.chart.options = val this.chart.draw() }) }** }
Sorry, something went wrong.
No branches or pull requests
The value of the pie chart updates properly but the color does not. Any way to force a redraw?
The text was updated successfully, but these errors were encountered: