Skip to content

Commit

Permalink
settimeout on graph
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorleh committed Jun 23, 2017
1 parent 01d25bf commit 87cefea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/vcustomers/src/components/global/salesChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { Line } from 'vue-chartjs';
export default Line.extend({
props: ['chartData', 'options'],
mounted () {
this.renderChart(this.chartData, this.options)
setTimeout(() => {
this.renderChart(this.chartData, this.options)
}, 1);
}
})

0 comments on commit 87cefea

Please sign in to comment.