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