Open ortizvinicius opened 7 years ago
Confirmed. Issue's source is the watched dataset property. It redraws the chart but actually the chart data is not set to the new value.
chart_data.datasets = val;
missing at https://github.com/hchstera/vue-charts/blob/master/src/vue-chartjs-lib.js#L105
Same problem, adding this.chart_data.datasets = val; didn't fix it for me.
did you guys solved this ?
giving <chartjs-line ref="chart" and a watcher on datasets-variable with this.$refs.chart.chart_data.datasets=this.chartData; was my only solution
Hello, I am using this library, and I wrote this code for a doughnut chart:
But, for eg., when I change the value of a.val, the chart do the render animation, but its values dont change.