I am trying to combine googlecharts with ngTable.
This is my chart: http://plnkr.co/edit/RB2G4zjwaTKrrrRVdyFz?p=preview. The data for the chart, I want to get them from this table: http://bazalt-cms.com/ng-table/example/21
To explain it better, in plnkr I've manually entered the data of the chart based to the example of ngTable (grouping by role: admin 4, user 12, moderator 7).
- (a) group.data.length -> provides me each 4, 12, 7
- (b) group.value -> provides me each admin, user, moderator
The big question is: how can I pass this data to the chart? how can I explain chart.draw($scope.data, options); it should take my data from (a) and (b) to create the chart.