{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-business-process/pulls/comments/67673718","id":67673718,"diff_hunk":"@@ -10,34 +10,55 @@\n     <link rel=\"stylesheet\" href=\"css/chart.css\">\n \n     <script type=\"text/javascript\">\n-      google.load(\"visualization\", \"1\", {packages:[\"corechart\"]});\n-      google.setOnLoadCallback(drawChart);\n-      function drawChart(){\n-        var data = google.visualization.arrayToDataTable([\n-          ['Status Of the Task', ' Task Count'],         \n-          <% for(var j = 0; j < statusArrayBar.length; j++){ %>\n-            <%=JSON.stringify(statusArrayBar[j]) %>\n-            <% if(j < statusArrayBar.length){ %> ,<% } %>\n-          <% } %>\n-        ]);\n-        \n-        var options = {\n-          vAxis: {title: 'Status Of the Task',  titleTextStyle: { color: 'grey' }},\n-          hAxis: {title: 'Task count', titleTextStyle: {color: 'grey'},logScale:true},\n-          colors:['#be2d28'],\n-          bar: {groupWidth: \"65%\"},\n-          legend: { position: \"none\" }\n-        };\n+          google.load(\"visualization\", \"1\", {packages:[\"corechart\"]});\n+          google.setOnLoadCallback(drawChart);\n \n-        var chart = new google.visualization.BarChart(document.getElementById('taskStatusCountBar'));\n-        chart.draw(data, options);\n-      }\n-    </script>\n+          var dataArr = [['Status of the task', 'Task Count']];\n+           <% for(var j = 0; j < statusArrayBar.length; j++){ %>\n+\n+                dataArr.push(['<%=statusArrayBar[j][0]%>',<%=statusArrayBar[j][1]%>]);","path":"components/humantask/humantask-explorer-web/src/web/template/statsView.jag","position":32,"original_position":32,"commit_id":"3b979d61b8781f29bbc9fbd047fc478373959a2d","original_commit_id":"3b979d61b8781f29bbc9fbd047fc478373959a2d","user":{"login":"sinthuja","id":7677649,"avatar_url":"https://avatars.githubusercontent.com/u/7677649?v=3","gravatar_id":"","url":"https://api.github.com/users/sinthuja","html_url":"https://github.com/sinthuja","followers_url":"https://api.github.com/users/sinthuja/followers","following_url":"https://api.github.com/users/sinthuja/following{/other_user}","gists_url":"https://api.github.com/users/sinthuja/gists{/gist_id}","starred_url":"https://api.github.com/users/sinthuja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinthuja/subscriptions","organizations_url":"https://api.github.com/users/sinthuja/orgs","repos_url":"https://api.github.com/users/sinthuja/repos","events_url":"https://api.github.com/users/sinthuja/events{/privacy}","received_events_url":"https://api.github.com/users/sinthuja/received_events","type":"User","site_admin":false},"body":"Formatting issue, there should be a space after and before comma. ","created_at":"2016-06-20T11:20:50Z","updated_at":"2016-06-20T11:20:50Z","html_url":"https://github.com/wso2/carbon-business-process/pull/177#discussion_r67673718","pull_request_url":"https://api.github.com/repos/wso2/carbon-business-process/pulls/177","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-business-process/pulls/comments/67673718"},"html":{"href":"https://github.com/wso2/carbon-business-process/pull/177#discussion_r67673718"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-business-process/pulls/177"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-business-process/pulls/177","id":44093463,"html_url":"https://github.com/wso2/carbon-business-process/pull/177","diff_url":"https://github.com/wso2/carbon-business-process/pull/177.diff","patch_url":"https://github.com/wso2/carbon-business-process/pull/177.patch","issue_url":"https://api.github.com/repos/wso2/carbon-business-process/issues/177","number":177,"state":"closed","locked":false,"title":"Updated charts of the human-task explorer and bpmn-explorer","user":{"login":"NatashaWso2","id":13446645,"avatar_url":"https://avatars.githubusercontent.com/u/13446645?v=3","gravatar_id":"","url":"https://api.github.com/users/NatashaWso2","html_url":"https://github.com/NatashaWso2","followers_url":"https://api.github.com/users/NatashaWso2/followers","following_url":"https://api.github.com/users/NatashaWso2/following{/other_user}","gists_url":"https://api.github.com/users/NatashaWso2/gists{/gist_id}","starred_url":"https://api.github.com/users/NatashaWso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NatashaWso2/subscriptions","organizations_url":"https://api.github.com/users/NatashaWso2/orgs","repos_url":"https://api.github.com/users/NatashaWso2/repos","events_url":"https://api.github.com/users/NatashaWso2/events{/privacy}","received_events_url":"https://api.github.com/users/NatashaWso2/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-03T10:59:45Z","updated_at":"2016-06-20T11:20:50Z","closed_at":"2015-09-07T05:48:16Z","merged_at":"2015-09-07T05:48:16Z","merge_commit_sha":"fdc184e89f1d3ad9af0820d3bbedd0effeb45139","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-business-process/pulls/177/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-business-process/pulls/177/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-business-process/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-business-process/issues/177/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-business-process/statuses/3b979d61b8781f29bbc9fbd047fc478373959a2d","head":{"label":"NatashaWso2:bpmn-explorer","ref":"bpmn-explorer","sha":"3b979d61b8781f29bbc9fbd047fc478373959a2d","user":{"login":"NatashaWso2","id":13446645,"avatar_url":"https://avatars.githubusercontent.com/u/13446645?v=3","gravatar_id":"","url":"https://api.github.com/users/NatashaWso2","html_url":"https://github.com/NatashaWso2","followers_url":"https://api.github.com/users/NatashaWso2/followers","following_url":"https://api.github.com/users/NatashaWso2/following{/other_user}","gists_url":"https://api.github.com/users/NatashaWso2/gists{/gist_id}","starred_url":"https://api.github.com/users/NatashaWso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NatashaWso2/subscriptions","organizations_url":"https://api.github.com/users/NatashaWso2/orgs","repos_url":"https://api.github.com/users/NatashaWso2/repos","events_url":"https://api.github.com/users/NatashaWso2/events{/privacy}","received_events_url":"https://api.github.com/users/NatashaWso2/received_events","type":"User","site_admin":false},"repo":{"id":39608404,"name":"carbon-business-process","full_name":"NatashaWso2/carbon-business-process","owner":{"login":"NatashaWso2","id":13446645,"avatar_url":"https://avatars.githubusercontent.com/u/13446645?v=3","gravatar_id":"","url":"https://api.github.com/users/NatashaWso2","html_url":"https://github.com/NatashaWso2","followers_url":"https://api.github.com/users/NatashaWso2/followers","following_url":"https://api.github.com/users/NatashaWso2/following{/other_user}","gists_url":"https://api.github.com/users/NatashaWso2/gists{/gist_id}","starred_url":"https://api.github.com/users/NatashaWso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NatashaWso2/subscriptions","organizations_url":"https://api.github.com/users/NatashaWso2/orgs","repos_url":"https://api.github.com/users/NatashaWso2/repos","events_url":"https://api.github.com/users/NatashaWso2/events{/privacy}","received_events_url":"https://api.github.com/users/NatashaWso2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NatashaWso2/carbon-business-process","description":"","fork":true,"url":"https://api.github.com/repos/NatashaWso2/carbon-business-process","forks_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/forks","keys_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/teams","hooks_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/hooks","issue_events_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/issues/events{/number}","events_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/events","assignees_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/assignees{/user}","branches_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/branches{/branch}","tags_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/tags","blobs_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/git/refs{/sha}","trees_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/statuses/{sha}","languages_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/languages","stargazers_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/stargazers","contributors_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/contributors","subscribers_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/subscribers","subscription_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/subscription","commits_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/commits{/sha}","git_commits_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/git/commits{/sha}","comments_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/comments{/number}","issue_comment_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/issues/comments{/number}","contents_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/contents/{+path}","compare_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/merges","archive_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/downloads","issues_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/issues{/number}","pulls_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/pulls{/number}","milestones_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/milestones{/number}","notifications_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/labels{/name}","releases_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/releases{/id}","deployments_url":"https://api.github.com/repos/NatashaWso2/carbon-business-process/deployments","created_at":"2015-07-24T02:53:28Z","updated_at":"2016-01-20T05:21:44Z","pushed_at":"2016-06-20T08:54:13Z","git_url":"git://github.com/NatashaWso2/carbon-business-process.git","ssh_url":"git@github.com:NatashaWso2/carbon-business-process.git","clone_url":"https://github.com/NatashaWso2/carbon-business-process.git","svn_url":"https://github.com/NatashaWso2/carbon-business-process","homepage":null,"size":10890,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"28992a52df1cd619612f7e0f3b01f7be04dbedc9","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":16512976,"name":"carbon-business-process","full_name":"wso2/carbon-business-process","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-business-process","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-business-process","forks_url":"https://api.github.com/repos/wso2/carbon-business-process/forks","keys_url":"https://api.github.com/repos/wso2/carbon-business-process/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-business-process/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-business-process/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-business-process/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-business-process/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-business-process/events","assignees_url":"https://api.github.com/repos/wso2/carbon-business-process/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-business-process/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-business-process/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-business-process/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-business-process/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-business-process/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-business-process/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-business-process/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-business-process/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-business-process/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-business-process/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-business-process/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-business-process/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-business-process/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-business-process/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-business-process/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-business-process/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-business-process/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-business-process/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-business-process/merges","archive_url":"https://api.github.com/repos/wso2/carbon-business-process/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-business-process/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-business-process/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-business-process/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-business-process/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-business-process/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-business-process/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-business-process/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-business-process/deployments","created_at":"2014-02-04T13:48:34Z","updated_at":"2016-01-11T12:08:32Z","pushed_at":"2016-06-20T10:39:47Z","git_url":"git://github.com/wso2/carbon-business-process.git","ssh_url":"git@github.com:wso2/carbon-business-process.git","clone_url":"https://github.com/wso2/carbon-business-process.git","svn_url":"https://github.com/wso2/carbon-business-process","homepage":null,"size":12037,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":4,"forks":49,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-business-process/pulls/177"},"html":{"href":"https://github.com/wso2/carbon-business-process/pull/177"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-business-process/issues/177"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-business-process/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-business-process/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-business-process/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-business-process/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-business-process/statuses/3b979d61b8781f29bbc9fbd047fc478373959a2d"}}}}
{"actor":{"display_login":"sinthuja"}}