score:1

Accepted answer

it might be due to version mismatch, as per the latest version of chart.js, in order to remove the legend. the cdn might be using the latest chart.js

  options: {
          plugins:{   
             legend: {
               display: false
                     },
                  }
             }

Related Query

More Query from same tag