Issue #124: Done.

This commit is contained in:
chiayin
2023-10-02 17:19:30 +08:00
parent f9738bbed9
commit 436586d6e9

View File

@@ -146,6 +146,13 @@ export default {
plugins: {
legend: { // 圖例
display: false,
},
tooltip: {
callbacks: {
label: (tooltipItems) =>{
return `${tooltipItems.dataset.label}: ${tooltipItems.parsed.y}%`
}
}
}
},
animations: false,