Chartjs-Chart.js lost its colors

1👍

Seems like you are mixing chart.js 1.x syntax with chart.js 2.x

Dont think strokeColor is a valid option in chart.js 2.x.

Here is an example of how you can add some color.

[{
   label: 'Info',
   backgroundColor: "rgba(46, 44, 211, 0.2)",
   borderColor: "rgba(46, 44, 211, 0.5)",
   data: data
}

https://jsfiddle.net/brqc0tmw/4/

For more options look at the documentation
http://www.chartjs.org/docs/#line-chart-dataset-structure

Leave a comment