Chartjs-How to change label color for line charts.js?

0👍

Your chart uses chartjs-plugin-datalabels. Therefore, you need to define color inside datalabels as follows:

datalabels: {
  color: '#ccc',
  anchor: 'end',
  align: 'end'
},

Leave a comment