mirror of
				https://github.com/KevinMidboe/vue-chartjs.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	🐛 Fix reactive-prop example
This commit is contained in:
		| @@ -50,7 +50,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     mounted () { | ||||
|       setInterval(() => { | ||||
|         this.fillData() | ||||
|       }, 2000) | ||||
|     }, | ||||
|     methods: { | ||||
|       getRandomInt () { | ||||
|   | ||||
| @@ -5,6 +5,6 @@ export default BarChart.extend({ | ||||
|   mixins: [reactiveProp], | ||||
|  | ||||
|   mounted () { | ||||
|     this.renderChart(this.chartData) | ||||
|     this.renderChart(this.chartData, {responsive: true, maintainAspectRatio: false}) | ||||
|   } | ||||
| }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user