{"action":"created","issue":{"url":"https://api.github.com/repos/stewones/angular-morris-chart/issues/36","repository_url":"https://api.github.com/repos/stewones/angular-morris-chart","labels_url":"https://api.github.com/repos/stewones/angular-morris-chart/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/stewones/angular-morris-chart/issues/36/comments","events_url":"https://api.github.com/repos/stewones/angular-morris-chart/issues/36/events","html_url":"https://github.com/stewones/angular-morris-chart/issues/36","id":129839975,"number":36,"title":"Redraw donut chart after REST call","user":{"login":"clabnet","id":6067610,"avatar_url":"https://avatars.githubusercontent.com/u/6067610?v=3","gravatar_id":"","url":"https://api.github.com/users/clabnet","html_url":"https://github.com/clabnet","followers_url":"https://api.github.com/users/clabnet/followers","following_url":"https://api.github.com/users/clabnet/following{/other_user}","gists_url":"https://api.github.com/users/clabnet/gists{/gist_id}","starred_url":"https://api.github.com/users/clabnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clabnet/subscriptions","organizations_url":"https://api.github.com/users/clabnet/orgs","repos_url":"https://api.github.com/users/clabnet/repos","events_url":"https://api.github.com/users/clabnet/events{/privacy}","received_events_url":"https://api.github.com/users/clabnet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-29T18:01:38Z","updated_at":"2016-03-20T13:29:48Z","closed_at":"2016-01-29T19:02:43Z","body":"I have add your directive as is \r\n\r\n`  <div class=\"morris-chart\" donut-chart donut-data=\"vm.donutData\" donut-colors=\"['#23AE89','#2EC1CC','#FFB61C','#E94B3B']\"></div>`\r\n\r\nwhere my data are contained into vm.donutData.\r\n\r\nI know the existence of the method \"setData\" into Morris chart, but I don't know how to pass the new .json at end of a call $http.\r\n\r\nAny suggestion please ?\r\n\r\nThank's"},"comment":{"url":"https://api.github.com/repos/stewones/angular-morris-chart/issues/comments/198930330","html_url":"https://github.com/stewones/angular-morris-chart/issues/36#issuecomment-198930330","issue_url":"https://api.github.com/repos/stewones/angular-morris-chart/issues/36","id":198930330,"user":{"login":"stewones","id":719763,"avatar_url":"https://avatars.githubusercontent.com/u/719763?v=3","gravatar_id":"","url":"https://api.github.com/users/stewones","html_url":"https://github.com/stewones","followers_url":"https://api.github.com/users/stewones/followers","following_url":"https://api.github.com/users/stewones/following{/other_user}","gists_url":"https://api.github.com/users/stewones/gists{/gist_id}","starred_url":"https://api.github.com/users/stewones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewones/subscriptions","organizations_url":"https://api.github.com/users/stewones/orgs","repos_url":"https://api.github.com/users/stewones/repos","events_url":"https://api.github.com/users/stewones/events{/privacy}","received_events_url":"https://api.github.com/users/stewones/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T13:29:48Z","updated_at":"2016-03-20T13:29:48Z","body":"Hi @clabnet \r\n\r\nI have added this sample to docs. Maybe it can help you.\r\n\r\nhttps://jsfiddle.net/stewones/xtuso6q8/\r\n\r\nFeel free to open new issues."}}