Chartjs-Chart.JS tooltip color doesn't works as expected in pie chart. How to solve it?

0👍

All you need to do is just set tooltips bodyFontColor value to white (#FFfFFF)

....
tooltips: {
  backgroundColor: '#000',
  bodyFontColor: '#FFFFFF',
  bodyFontSize: 14,
  displayColors: false
}
...

Here is fiddle link to see result : https://jsfiddle.net/xf7nx5nc/

Leave a comment