とりあえず一旦これで自動修正

This commit is contained in:
hina
2020-06-06 18:01:56 +09:00
parent 334c810b8d
commit edd7a6f4c8
12 changed files with 295 additions and 268 deletions

View File

@@ -8,31 +8,37 @@ new Chart(graph.getContext('2d')!, {
type: 'bar',
data: {
labels,
datasets: [{
data,
backgroundColor: 'rgba(0, 0, 0, .1)',
borderColor: 'rgba(0, 0, 0, .25)',
borderWidth: 1
}]
datasets: [
{
data,
backgroundColor: 'rgba(0, 0, 0, .1)',
borderColor: 'rgba(0, 0, 0, .25)',
borderWidth: 1,
},
],
},
options: {
maintainAspectRatio: false,
legend: {
display: false
display: false,
},
elements: {
line: {}
line: {},
},
scales: {
xAxes: [{
display: false
}],
yAxes: [{
display: false,
ticks: {
beginAtZero: true
}
}]
}
}
xAxes: [
{
display: false,
},
],
yAxes: [
{
display: false,
ticks: {
beginAtZero: true,
},
},
],
},
},
});