{"action":"created","issue":{"url":"https://api.github.com/repos/primefaces/primeng/issues/2235","repository_url":"https://api.github.com/repos/primefaces/primeng","labels_url":"https://api.github.com/repos/primefaces/primeng/issues/2235/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primeng/issues/2235/comments","events_url":"https://api.github.com/repos/primefaces/primeng/issues/2235/events","html_url":"https://github.com/primefaces/primeng/issues/2235","id":212420034,"number":2235,"title":"ChangeDetection for Charts","user":{"login":"Mrtcndkn","id":9675952,"avatar_url":"https://avatars3.githubusercontent.com/u/9675952?v=3","gravatar_id":"","url":"https://api.github.com/users/Mrtcndkn","html_url":"https://github.com/Mrtcndkn","followers_url":"https://api.github.com/users/Mrtcndkn/followers","following_url":"https://api.github.com/users/Mrtcndkn/following{/other_user}","gists_url":"https://api.github.com/users/Mrtcndkn/gists{/gist_id}","starred_url":"https://api.github.com/users/Mrtcndkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mrtcndkn/subscriptions","organizations_url":"https://api.github.com/users/Mrtcndkn/orgs","repos_url":"https://api.github.com/users/Mrtcndkn/repos","events_url":"https://api.github.com/users/Mrtcndkn/events{/privacy}","received_events_url":"https://api.github.com/users/Mrtcndkn/received_events","type":"User","site_admin":false},"labels":[{"id":312160661,"url":"https://api.github.com/repos/primefaces/primeng/labels/enhancement","name":"enhancement","color":"0052cc","default":true}],"state":"closed","locked":false,"assignee":{"login":"Mrtcndkn","id":9675952,"avatar_url":"https://avatars3.githubusercontent.com/u/9675952?v=3","gravatar_id":"","url":"https://api.github.com/users/Mrtcndkn","html_url":"https://github.com/Mrtcndkn","followers_url":"https://api.github.com/users/Mrtcndkn/followers","following_url":"https://api.github.com/users/Mrtcndkn/following{/other_user}","gists_url":"https://api.github.com/users/Mrtcndkn/gists{/gist_id}","starred_url":"https://api.github.com/users/Mrtcndkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mrtcndkn/subscriptions","organizations_url":"https://api.github.com/users/Mrtcndkn/orgs","repos_url":"https://api.github.com/users/Mrtcndkn/repos","events_url":"https://api.github.com/users/Mrtcndkn/events{/privacy}","received_events_url":"https://api.github.com/users/Mrtcndkn/received_events","type":"User","site_admin":false},"assignees":[{"login":"Mrtcndkn","id":9675952,"avatar_url":"https://avatars3.githubusercontent.com/u/9675952?v=3","gravatar_id":"","url":"https://api.github.com/users/Mrtcndkn","html_url":"https://github.com/Mrtcndkn","followers_url":"https://api.github.com/users/Mrtcndkn/followers","following_url":"https://api.github.com/users/Mrtcndkn/following{/other_user}","gists_url":"https://api.github.com/users/Mrtcndkn/gists{/gist_id}","starred_url":"https://api.github.com/users/Mrtcndkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mrtcndkn/subscriptions","organizations_url":"https://api.github.com/users/Mrtcndkn/orgs","repos_url":"https://api.github.com/users/Mrtcndkn/repos","events_url":"https://api.github.com/users/Mrtcndkn/events{/privacy}","received_events_url":"https://api.github.com/users/Mrtcndkn/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/primefaces/primeng/milestones/54","html_url":"https://github.com/primefaces/primeng/milestone/54","labels_url":"https://api.github.com/repos/primefaces/primeng/milestones/54/labels","id":2361060,"number":54,"title":"4.0.RC1","description":"","creator":{"login":"Mrtcndkn","id":9675952,"avatar_url":"https://avatars3.githubusercontent.com/u/9675952?v=3","gravatar_id":"","url":"https://api.github.com/users/Mrtcndkn","html_url":"https://github.com/Mrtcndkn","followers_url":"https://api.github.com/users/Mrtcndkn/followers","following_url":"https://api.github.com/users/Mrtcndkn/following{/other_user}","gists_url":"https://api.github.com/users/Mrtcndkn/gists{/gist_id}","starred_url":"https://api.github.com/users/Mrtcndkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mrtcndkn/subscriptions","organizations_url":"https://api.github.com/users/Mrtcndkn/orgs","repos_url":"https://api.github.com/users/Mrtcndkn/repos","events_url":"https://api.github.com/users/Mrtcndkn/events{/privacy}","received_events_url":"https://api.github.com/users/Mrtcndkn/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":15,"state":"open","created_at":"2017-03-03T12:15:11Z","updated_at":"2017-03-10T11:38:22Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2017-03-07T12:36:18Z","updated_at":"2017-03-10T13:06:06Z","closed_at":"2017-03-07T12:37:21Z","body":"-When the data of charts changed dynamically it should reinitialize the view.\r\n-It should be used with a new array for changeDetection to work.\r\n\r\nFor example; \r\n\r\n    changeData() {\r\n            this.changedData = {\r\n                labels: ['X','Y','Z'],\r\n                datasets: [\r\n                    {\r\n                        data: [200, 200, 50],\r\n                        backgroundColor: [\r\n                            \"#50f442\",\r\n                            \"#f441c4\",\r\n                            \"#4195f4\"\r\n                        ],\r\n                        hoverBackgroundColor: [\r\n                            \"#50f442\",\r\n                            \"#f441c4\",\r\n                            \"#4195f4\"\r\n                        ]\r\n                     }]\r\n            }\r\n            this.data = Object.assign({}, this.changedData);\r\n    }\r\n"},"comment":{"url":"https://api.github.com/repos/primefaces/primeng/issues/comments/285664483","html_url":"https://github.com/primefaces/primeng/issues/2235#issuecomment-285664483","issue_url":"https://api.github.com/repos/primefaces/primeng/issues/2235","id":285664483,"user":{"login":"unaor","id":1891506,"avatar_url":"https://avatars2.githubusercontent.com/u/1891506?v=3","gravatar_id":"","url":"https://api.github.com/users/unaor","html_url":"https://github.com/unaor","followers_url":"https://api.github.com/users/unaor/followers","following_url":"https://api.github.com/users/unaor/following{/other_user}","gists_url":"https://api.github.com/users/unaor/gists{/gist_id}","starred_url":"https://api.github.com/users/unaor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unaor/subscriptions","organizations_url":"https://api.github.com/users/unaor/orgs","repos_url":"https://api.github.com/users/unaor/repos","events_url":"https://api.github.com/users/unaor/events{/privacy}","received_events_url":"https://api.github.com/users/unaor/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T13:06:06Z","updated_at":"2017-03-10T13:06:06Z","body":"ok, any idea why after version 2.0.0-rc.1 the graphs are not drawing? code did not change and im starting it by calling setTimeout(() => this.chart.refresh(), 100);"}}
{"actor":{"display_login":"unaor"}}