Chartjs-I can't change the color of the grids in Chart.js

0👍

add this in your options object but then with the correct color:

yAxes: [{
       gridLines: {
            color: 'red'
       },
}],
 xAxes: [{
      gridLines: {
            color: 'red'
      },
 }]

working example: https://jsfiddle.net/Leelenaleee/nfkwjvdq/2/

Leave a comment