Chartjs-How to remove Label from charts.js

0👍

Here is the documentation
https://www.chartjs.org/docs/latest/configuration/legend.html

you can simply set legend.display to false.

options: {
  plugin: {
    legend: {
        display: false,
    }
  }
}

You can try it here
https://codesandbox.io/s/wonj2xn23w?file=/src/index.js

Leave a comment