How can I install Chartjs plugins?
I want to display values on top of my pie chart, but the standard Chartjs that Filament uses does not support this.
However, they made a plugin: https://chartjs-plugin-datalabels.netlify.app/samples/charts/doughnut.html
How can I add this Chartjs plugin to Filament so that I can use it in my chartjs config?
Doughnut | chartjs-plugin-datalabels
Display labels on data for any type of charts
Solution:Jump to solution
You will likely need to make a PR. But you could also use #apex-charts π
3 Replies
Solution
You will likely need to make a PR. But you could also use #apex-charts π
I got the functionality I need with apex charts, thanks
You can read how register chartjs plugins in the official filament doc https://filamentphp.com/docs/3.x/widgets/charts#using-custom-chartjs-plugins