score:2

Accepted answer

You can change the font color of legend­'s label, in the following way ...

options: {
   legend: {
      labels: {
         fontColor: 'white'
      }
   },
   ...
}

ᴡᴏʀᴋɪɴɢ ᴇxᴀᴍᴘʟᴇ

var chart = new Chart(ctx, {
   type: 'doughnut',
   data: {
      labels: ['A', 'B', 'C', 'D', 'E'],
      datasets: [{
         data: [1, 1, 1, 1, 1],
         backgroundColor: [
            'rgb(255, 99, 132)',
            'rgb(54, 162, 235)',
            'rgb(255, 206, 86)',
            'rgb(75, 192, 192)',
            'rgb(153, 102, 255)'
         ]
      }]
   },
   options: {
      legend: {
         labels: {
            fontColor: 'white' //set your desired color
         }
      }
   }
});
canvas{background: #222}
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.min.js"></script>
<canvas id="ctx"></canvas>

score:0

Sorry to unbury this but trying any solutions and only this works. create plugin before chart :

Chart.plugins.register({
    beforeDraw: function(c) {
        c.legend.options.labels.fontColor = 'hsl(0,0%,85%)';
    }
});
var chart = new Chart(ctx, {
....

Related Query

More Query from same tag