背景色を透明にしたので、これで折れ線グラフになるはず。

This commit is contained in:
Kazuhiro MUSASHI 2020-06-13 13:56:43 +07:00 committed by Gitea
parent 229cba9a66
commit c5f3c2cf2c
1 changed files with 8 additions and 0 deletions

View File

@ -85,6 +85,14 @@ chart=true
datasets: [{ datasets: [{
label: '# of Votes', label: '# of Votes',
data: [12, 19, 3, 5, 2, 3], data: [12, 19, 3, 5, 2, 3],
backgroundColor: [
'rgba(0,0,0,0)',
'rgba(0,0,0,0)',
'rgba(0,0,0,0)',
'rgba(0,0,0,0)',
'rgba(0,0,0,0)',
'rgba(0,0,0,0)'
},
borderColor: [ borderColor: [
'rgba(255, 99, 132, 1)', 'rgba(255, 99, 132, 1)',
'rgba(54, 162, 235, 1)', 'rgba(54, 162, 235, 1)',