DavideViolante / chartjs-plugin-labels

Plugin for Chart.js to display percentage, value or label in Pie or Doughnut.
MIT License
58 stars 18 forks source link

Chart.js 3.6.0 percentage, multiple labels not working #6

Closed AlkaDragos closed 2 years ago

AlkaDragos commented 2 years ago

Hey, i've wanted to update my chart.js page with the newer version (3.6.0) and since the old labels plugin didn't work, i've found this plugin but seems that it doesn't work correctly at all! Yes, you can specify render property with "value,label" but "percentage" doesn't work at all , displaying NaN% on pie and doughnut chart types. Also, as someone else specified here, multiple labels options doesn't seem to work at all, i need to display a label inside a pie slice and also an image outside, but with this it doesn't work :(

Congrats for the updated plugin and for your work, but do you think this will be updated and ready to be used as the legacy one? Thank you! 👍

DavideViolante commented 2 years ago

Thanks for the report, there are already some issues about it. Currently I don't have the time to fix it and I don't know which part should be changed actually.

Any help to solve those issues is appreciated.

brodrigz commented 2 years ago

Just tested with the latest commit and it's working perfectly on ChartJS 3.8.0

DavideViolante commented 2 years ago

Hi @sacalata can you show us your chart config please?