score:29

Accepted answer

this is because, you are using deprecated properties (used in chartjs 1.x) for setting colors. use the following properties instead (which is applicable for chartjs 2.7) :

datasets: [{
   label: 'dique las maderas',
   fill: false,
   bordercolor: "#bae755",
   borderdash: [5, 5],
   backgroundcolor: "#e755ba",
   pointbackgroundcolor: "#55bae7",
   pointbordercolor: "#55bae7",
   pointhoverbackgroundcolor: "#55bae7",
   pointhoverbordercolor: "#55bae7",
   data: valor
}]

Related Query

More Query from same tag