[Chartjs]-Hide label on slice of Doghnut/Pie Chart Angular ng2-charts

1πŸ‘

βœ…

I can see you are trying to remove the label from your chart i.e is from the pie of your chart. So to inform you if you don’t know that label is coming from "chartjs-plugin-labels"

Either you can remove it, if not you can try below solution

     plugins: {
          labels: {
            render: function (args) {
              return   "";
            },
            fontColor: ['black', 'black', 'black'],
            precision: 2,
          }
        },

Leave a comment