This commit is contained in:
2020-05-27 14:10:30 +00:00
parent ce8bb7b7df
commit b5f18f408a

View File

@@ -15,10 +15,11 @@ export default {
}, },
watch: { watch: {
chartData() { chartData() {
// debugger; //these do nothing
// this.$data._chart.update(); // this.$data._chart.update();
// this.$data._chart.renderChart(); // this.$data._chart.renderChart();
this.renderChart(this.chartData, this.options); //this redraws the chart
this.renderChart(this.chartData, this.options);
} }
}, },
mounted() { mounted() {