emn178 / chartjs-plugin-labels

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

How To Disable Render value in some chart #145

Closed zeraferrari closed 2 years ago

zeraferrari commented 2 years ago

Sir, how to disable render value in some chart ? i want another my chart not display render value, what must i do ? in documentation value render property not have value disable, or false

SoyDiego commented 2 years ago

Hi @zeraferrari , do you have the solution for this? I show all the renders in my graphics but i want show only in one piechart. I added the code only in the config of my piechart but its shown in all my graphics. How could you solved it? Thanks!

SoyDiego commented 2 years ago

The solution is:

plugins: {
 labels: false,
},

:)