[Chartjs]-Angular-chart.js showing black color chart in Firefox, Safari, and IE

2👍

Uh, this was tough:

https://codepen.io/anon/pen/RLpGyY?editors=1010

You were missing brackets on $scope.chartData so it wasn’t rendering properly. You need to set it as array of arrays even if you have only one dataset

Try with this:

$scope.chartData = [[1,20,3,40,5,60,7]];

I guess Safari and Firefox aren’t as smart as Chrome is 🙂

Leave a comment