{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/comments/55337345","id":55337345,"diff_hunk":"@@ -88,41 +83,97 @@ $(document).ready(function () {\n \n function updateGraphs() {\n     var tv = 5000;\n-\n-    var fields = [];\n+    var graphs = {};\n     for (var op in monitor_operations) {\n-        if (monitor_operations[op].name == 'gps') {\n+        var op_name = monitor_operations[op].name;","path":"components/device-mgt-iot/org.wso2.carbon.device.mgt.iot.ui/src/main/resources/jaggeryapps/devicemgt/app/units/iot.unit.device.stats/public/js/device-stats.js","position":72,"original_position":72,"commit_id":"88e35191c51a51196b5b3924dd703beadc889618","original_commit_id":"88e35191c51a51196b5b3924dd703beadc889618","user":{"login":"charithag","id":3184302,"avatar_url":"https://avatars.githubusercontent.com/u/3184302?v=3","gravatar_id":"","url":"https://api.github.com/users/charithag","html_url":"https://github.com/charithag","followers_url":"https://api.github.com/users/charithag/followers","following_url":"https://api.github.com/users/charithag/following{/other_user}","gists_url":"https://api.github.com/users/charithag/gists{/gist_id}","starred_url":"https://api.github.com/users/charithag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charithag/subscriptions","organizations_url":"https://api.github.com/users/charithag/orgs","repos_url":"https://api.github.com/users/charithag/repos","events_url":"https://api.github.com/users/charithag/events{/privacy}","received_events_url":"https://api.github.com/users/charithag/received_events","type":"User","site_admin":false},"body":"Fix with PR https://github.com/wso2/carbon-device-mgt-plugins/pull/206","created_at":"2016-03-08T09:53:51Z","updated_at":"2016-03-08T09:53:51Z","html_url":"https://github.com/wso2/carbon-device-mgt-plugins/pull/194#discussion_r55337345","pull_request_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/194","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/comments/55337345"},"html":{"href":"https://github.com/wso2/carbon-device-mgt-plugins/pull/194#discussion_r55337345"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/194","id":60673817,"html_url":"https://github.com/wso2/carbon-device-mgt-plugins/pull/194","diff_url":"https://github.com/wso2/carbon-device-mgt-plugins/pull/194.diff","patch_url":"https://github.com/wso2/carbon-device-mgt-plugins/pull/194.patch","issue_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/issues/194","number":194,"state":"closed","locked":false,"title":"UI enhancements","user":{"login":"charithag","id":3184302,"avatar_url":"https://avatars.githubusercontent.com/u/3184302?v=3","gravatar_id":"","url":"https://api.github.com/users/charithag","html_url":"https://github.com/charithag","followers_url":"https://api.github.com/users/charithag/followers","following_url":"https://api.github.com/users/charithag/following{/other_user}","gists_url":"https://api.github.com/users/charithag/gists{/gist_id}","starred_url":"https://api.github.com/users/charithag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charithag/subscriptions","organizations_url":"https://api.github.com/users/charithag/orgs","repos_url":"https://api.github.com/users/charithag/repos","events_url":"https://api.github.com/users/charithag/events{/privacy}","received_events_url":"https://api.github.com/users/charithag/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-25T12:53:35Z","updated_at":"2016-03-08T09:53:51Z","closed_at":"2016-02-25T17:04:50Z","merged_at":"2016-02-25T17:04:50Z","merge_commit_sha":"58792dc86ccef1ebea82c84434c83095d79415aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/194/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/194/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/issues/194/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/statuses/88e35191c51a51196b5b3924dd703beadc889618","head":{"label":"charithag:IoTS-1.0.0-M4","ref":"IoTS-1.0.0-M4","sha":"88e35191c51a51196b5b3924dd703beadc889618","user":{"login":"charithag","id":3184302,"avatar_url":"https://avatars.githubusercontent.com/u/3184302?v=3","gravatar_id":"","url":"https://api.github.com/users/charithag","html_url":"https://github.com/charithag","followers_url":"https://api.github.com/users/charithag/followers","following_url":"https://api.github.com/users/charithag/following{/other_user}","gists_url":"https://api.github.com/users/charithag/gists{/gist_id}","starred_url":"https://api.github.com/users/charithag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charithag/subscriptions","organizations_url":"https://api.github.com/users/charithag/orgs","repos_url":"https://api.github.com/users/charithag/repos","events_url":"https://api.github.com/users/charithag/events{/privacy}","received_events_url":"https://api.github.com/users/charithag/received_events","type":"User","site_admin":false},"repo":{"id":37982972,"name":"carbon-device-mgt-plugins","full_name":"charithag/carbon-device-mgt-plugins","owner":{"login":"charithag","id":3184302,"avatar_url":"https://avatars.githubusercontent.com/u/3184302?v=3","gravatar_id":"","url":"https://api.github.com/users/charithag","html_url":"https://github.com/charithag","followers_url":"https://api.github.com/users/charithag/followers","following_url":"https://api.github.com/users/charithag/following{/other_user}","gists_url":"https://api.github.com/users/charithag/gists{/gist_id}","starred_url":"https://api.github.com/users/charithag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charithag/subscriptions","organizations_url":"https://api.github.com/users/charithag/orgs","repos_url":"https://api.github.com/users/charithag/repos","events_url":"https://api.github.com/users/charithag/events{/privacy}","received_events_url":"https://api.github.com/users/charithag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/charithag/carbon-device-mgt-plugins","description":"","fork":true,"url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins","forks_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/forks","keys_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/teams","hooks_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/hooks","issue_events_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/events","assignees_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/tags","blobs_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/languages","stargazers_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/stargazers","contributors_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/contributors","subscribers_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/subscribers","subscription_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/subscription","commits_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/merges","archive_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/downloads","issues_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/labels{/name}","releases_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/charithag/carbon-device-mgt-plugins/deployments","created_at":"2015-06-24T12:26:42Z","updated_at":"2015-12-08T09:48:56Z","pushed_at":"2016-03-08T09:49:50Z","git_url":"git://github.com/charithag/carbon-device-mgt-plugins.git","ssh_url":"git@github.com:charithag/carbon-device-mgt-plugins.git","clone_url":"https://github.com/charithag/carbon-device-mgt-plugins.git","svn_url":"https://github.com/charithag/carbon-device-mgt-plugins","homepage":null,"size":69499,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:IoTS-1.0.0-M4","ref":"IoTS-1.0.0-M4","sha":"115730b1672368692fdfa0e4ba311ab62636b4d6","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":30521516,"name":"carbon-device-mgt-plugins","full_name":"wso2/carbon-device-mgt-plugins","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-device-mgt-plugins","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins","forks_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/forks","keys_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/events","assignees_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/merges","archive_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/deployments","created_at":"2015-02-09T06:12:40Z","updated_at":"2016-01-28T13:45:00Z","pushed_at":"2016-03-08T09:51:13Z","git_url":"git://github.com/wso2/carbon-device-mgt-plugins.git","ssh_url":"git@github.com:wso2/carbon-device-mgt-plugins.git","clone_url":"https://github.com/wso2/carbon-device-mgt-plugins.git","svn_url":"https://github.com/wso2/carbon-device-mgt-plugins","homepage":null,"size":69901,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":3,"forks":24,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/194"},"html":{"href":"https://github.com/wso2/carbon-device-mgt-plugins/pull/194"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/issues/194"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-device-mgt-plugins/statuses/88e35191c51a51196b5b3924dd703beadc889618"}}}}