score:10

Accepted answer

To hide lable i.e nothing but legend: Use below config in options:

legend:{
       display:false
}

Thus in your code:

options: {
    legend:{
           display:false
    },  
    scales: {
        yAxes: [{
          ticks: {
            beginAtZero: true
          }
        }]
      }
    }

And, for background color use css for canvas element:

<canvas id="myChart" style="background-color: grey;">

Hope this will do for you!


Related Query

More Query from same tag