refactor: minor refactors, update snapshots

This commit is contained in:
woothu
2019-11-21 13:10:12 +01:00
parent cdfef77bab
commit 07e4966ad2
35 changed files with 1627 additions and 1589 deletions
+4 -4
View File
@@ -36,7 +36,9 @@ export default {
data: this.dataPoints,
backgroundColor: getColor(this.backgroundColor),
pointHoverBackgroundColor: getColor(this.pointHoverBackgroundColor),
label: this.label
label: this.label,
barPercentage: 0.5,
categoryPercentage: 1
}
]
},
@@ -48,9 +50,7 @@ export default {
},
scales: {
xAxes: [{
display: false,
categoryPercentage: 1,
barPercentage: 0.5
display: false
}],
yAxes: [{
display: false