Improve chart

This commit is contained in:
syuilo 2018-08-24 07:17:17 +09:00
parent 6e179e7cde
commit 3f7d248684
3 changed files with 29 additions and 21 deletions

View file

@ -23,7 +23,8 @@ export default Vue.extend({
methods: {
render() {
this.renderChart(this.data, mergeOptions({
responsive: false,
responsive: true,
maintainAspectRatio: false,
scales: {
xAxes: [{
type: 'time',