1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 12:21:35 +02:00

Bump Chart.js from 2.9.4 to 4.2.1 in dashboard examples (#38071)

* Bump Chart.js from 2.9.4 to 4.2.1 in dashboard examples

* Rollback myChart var modification

* Add some padding between tooltip color and text

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
Julien Déramond
2023-02-19 09:34:15 +01:00
committed by GitHub
parent 31221272e0
commit 5241b988c0
4 changed files with 18 additions and 22 deletions

View File

@@ -38,15 +38,13 @@
}]
},
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: false
}
}]
},
legend: {
display: false
plugins: {
legend: {
display: false
},
tooltip: {
boxPadding: 3
}
}
}
})