chartjs-plugin-labels icon indicating copy to clipboard operation
chartjs-plugin-labels copied to clipboard

The plugin generates global label, even though I set only local

Open jrvaroni opened this issue 6 years ago • 2 comments

I'm using chartjs-plugin-labels to generate label in pie charts, but other charts, but other graphics are also getting the labels. And the option also does not work as I configure it.

"@angular/common": "^5.2.7", "chart.js": "^2.7.2", "chartjs-plugin-labels": "^1.1.0",

does not work and label is generated global labels: { render: 'percentage', fontColor: ['green', 'white', 'red'], precision: 2 }

jrvaroni avatar Jan 14 '19 15:01 jrvaroni

As mentioned in other issues, it looks like the fix is to setplugins: {labels: false} on the particular chart(s) you do not want the labels to appear.

Joyrex avatar Feb 26 '19 23:02 Joyrex

@Joyrex Thank's, worked with me!

dipedro avatar Apr 24 '19 18:04 dipedro