I did that by replace the chart.js with this file
how to add tool tip in yii-chartjs extension
-
30-06-2022 - |
Pergunta
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.
Solução 2
Outras dicas
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 em: CC-BY-SA com atribuição
Não afiliado a StackOverflow