fix: Upgrade chart.js to 2.9.4, fix grid-line option (#2268)
This commit is contained in:
parent
d35e8cfd98
commit
4aa35953c4
5 changed files with 32 additions and 13 deletions
|
@ -14,12 +14,12 @@ const chartOptions = {
|
|||
scales: {
|
||||
xAxes: [
|
||||
{
|
||||
barPercentage: 1.26,
|
||||
barPercentage: 1.1,
|
||||
ticks: {
|
||||
fontFamily,
|
||||
},
|
||||
gridLines: {
|
||||
display: false,
|
||||
drawOnChartArea: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@ -30,7 +30,7 @@ const chartOptions = {
|
|||
beginAtZero: true,
|
||||
},
|
||||
gridLines: {
|
||||
display: false,
|
||||
drawOnChartArea: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue