I did that by replace the chart.js with this file
how to add tool tip in yii-chartjs extension
-
30-06-2022 - |
Pregunta
I am using yii-chartjs extension in my project. it works fine, but i want to add tool tip in Doughnut Chart. or is there any way to add labels in the chart.
thanks.
Solución 2
Otros consejos
I don't think the Chart.js Library has tooltip support for any one of it's charts. The closest thing they provide is labels.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow