Issue #124: Done.
This commit is contained in:
1 parent
f9738bbed9
commit
436586d6e9
1 file changed
+7
@@ -146,6 +146,13 @@ export default {
|
||||
plugins: {
|
||||
legend: { // 圖例
|
||||
display: false,
|
||||
},
|
||||
tooltip: {
|
||||
callbacks: {
|
||||
label: (tooltipItems) =>{
|
||||
return `${tooltipItems.dataset.label}: ${tooltipItems.parsed.y}%`
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
animations: false,
|
||||
|
||||
Reference in new issue
Block a user