mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-10-29 18:00:20 +00:00
✨ Add demo page for github pages
Signed-off-by: Jakub Juszczak <netghost03@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ export default BarChart.extend({
|
||||
},
|
||||
|
||||
mounted () {
|
||||
this.renderChart(this.chartData)
|
||||
this.renderChart(this.chartData, {responsive: true, maintainAspectRatio: false})
|
||||
|
||||
setInterval(() => {
|
||||
this.fillData()
|
||||
|
||||
Reference in New Issue
Block a user