diff --git a/src/mixins/reactiveData.js b/src/mixins/reactiveData.js index 3b0df55..b15b49b 100644 --- a/src/mixins/reactiveData.js +++ b/src/mixins/reactiveData.js @@ -54,6 +54,8 @@ module.exports = { chart.destroy() this.renderChart(this.chartData, this.options) } + } else { + this.renderChart(this.chartData, this.options) } } } diff --git a/src/mixins/reactiveProp.js b/src/mixins/reactiveProp.js index 059ebbe..c9da8ff 100644 --- a/src/mixins/reactiveProp.js +++ b/src/mixins/reactiveProp.js @@ -54,6 +54,8 @@ module.exports = { chart.destroy() this.renderChart(this.chartData, this.options) } + } else { + this.renderChart(this.chartData, this.options) } } }