Skip to content

Commit

Permalink
Update reactiveProp.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Felton committed Aug 23, 2017
1 parent 8271294 commit 0847898
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mixins/reactiveProp.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ module.exports = {
if (newData.hasOwnProperty('yLabels')) {
chart.data.yLabels = newData.yLabels
}
chart.update()
// chart.update()
chart.destroy()
this.renderChart(this.chartData, this.options)
} else {
chart.destroy()
this.renderChart(this.chartData, this.options)
Expand Down

0 comments on commit 0847898

Please sign in to comment.