I am trying chart using angular-chart.js
. While going through this documentation: Link For angular-chart
pie chart, I have found out that, they have given $scope.data
for values and $scope.labels
for labels. But I have data like this.
$scope.pied = [{
"Prospective":"4",
"CallBacks"
:"0",
"FollowUp"
: "4",
"NotInterested"
:"1",
"Closed"
: "0"
}];
How to implement this data in angular-chart?