Skip to content

Commit

Permalink
πŸ› Fix reactive-prop example
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed Jul 2, 2017
1 parent 9d44758 commit 80799b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/examples/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
}
},
mounted () {
this.fillData()
setInterval(() => {
this.fillData()
}, 2000)
},
methods: {
getRandomInt () {
Expand Down
2 changes: 1 addition & 1 deletion src/examples/ReactivePropExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export default BarChart.extend({
mixins: [reactiveProp],

mounted () {
this.renderChart(this.chartData)
this.renderChart(this.chartData, {responsive: true, maintainAspectRatio: false})
}
})

0 comments on commit 80799b7

Please sign in to comment.