Chartjs-Generator-angular-fullstack and angular-chart.js not displaying charts

1👍

Directive element should be have data instead of chart-data & labels instead of chart-labels

<canvas id="{{'doughnutChart' + $index}}" 
  class="chart chart-doughtnut" 
  data="votes" 
  labels="options">
</canvas>

And the data should be two dimensional array

$scope.options = [['a', 'b', 'c']];

Plunkr

Leave a comment