diff --git a/src/examples/App.vue b/src/examples/App.vue index 57fb517..61f5cee 100644 --- a/src/examples/App.vue +++ b/src/examples/App.vue @@ -50,7 +50,9 @@ } }, mounted () { - this.fillData() + setInterval(() => { + this.fillData() + }, 2000) }, methods: { getRandomInt () { diff --git a/src/examples/ReactivePropExample.js b/src/examples/ReactivePropExample.js index 44f2e7a..0ee82e8 100644 --- a/src/examples/ReactivePropExample.js +++ b/src/examples/ReactivePropExample.js @@ -5,6 +5,6 @@ export default BarChart.extend({ mixins: [reactiveProp], mounted () { - this.renderChart(this.chartData) + this.renderChart(this.chartData, {responsive: true, maintainAspectRatio: false}) } })