{"action":"created","issue":{"url":"https://api.github.com/repos/loklak/loklak_webclient/issues/251","labels_url":"https://api.github.com/repos/loklak/loklak_webclient/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/loklak/loklak_webclient/issues/251/comments","events_url":"https://api.github.com/repos/loklak/loklak_webclient/issues/251/events","html_url":"https://github.com/loklak/loklak_webclient/pull/251","id":92081740,"number":251,"title":"Wall histogram binning","user":{"login":"aneeshd16","id":5436027,"avatar_url":"https://avatars.githubusercontent.com/u/5436027?v=3","gravatar_id":"","url":"https://api.github.com/users/aneeshd16","html_url":"https://github.com/aneeshd16","followers_url":"https://api.github.com/users/aneeshd16/followers","following_url":"https://api.github.com/users/aneeshd16/following{/other_user}","gists_url":"https://api.github.com/users/aneeshd16/gists{/gist_id}","starred_url":"https://api.github.com/users/aneeshd16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneeshd16/subscriptions","organizations_url":"https://api.github.com/users/aneeshd16/orgs","repos_url":"https://api.github.com/users/aneeshd16/repos","events_url":"https://api.github.com/users/aneeshd16/events{/privacy}","received_events_url":"https://api.github.com/users/aneeshd16/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/loklak/loklak_webclient/labels/Twitter%20Wall%20-%20Aneesh","name":"Twitter Wall - Aneesh","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"sudheesh001","id":4545925,"avatar_url":"https://avatars.githubusercontent.com/u/4545925?v=3","gravatar_id":"","url":"https://api.github.com/users/sudheesh001","html_url":"https://github.com/sudheesh001","followers_url":"https://api.github.com/users/sudheesh001/followers","following_url":"https://api.github.com/users/sudheesh001/following{/other_user}","gists_url":"https://api.github.com/users/sudheesh001/gists{/gist_id}","starred_url":"https://api.github.com/users/sudheesh001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudheesh001/subscriptions","organizations_url":"https://api.github.com/users/sudheesh001/orgs","repos_url":"https://api.github.com/users/sudheesh001/repos","events_url":"https://api.github.com/users/sudheesh001/events{/privacy}","received_events_url":"https://api.github.com/users/sudheesh001/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/loklak/loklak_webclient/milestones/5","html_url":"https://github.com/loklak/loklak_webclient/milestones/Milestone%202.5%20Sprint","labels_url":"https://api.github.com/repos/loklak/loklak_webclient/milestones/5/labels","id":1173925,"number":5,"title":"Milestone 2.5 Sprint","description":"","creator":{"login":"mariobehling","id":1583873,"avatar_url":"https://avatars.githubusercontent.com/u/1583873?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobehling","html_url":"https://github.com/mariobehling","followers_url":"https://api.github.com/users/mariobehling/followers","following_url":"https://api.github.com/users/mariobehling/following{/other_user}","gists_url":"https://api.github.com/users/mariobehling/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobehling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobehling/subscriptions","organizations_url":"https://api.github.com/users/mariobehling/orgs","repos_url":"https://api.github.com/users/mariobehling/repos","events_url":"https://api.github.com/users/mariobehling/events{/privacy}","received_events_url":"https://api.github.com/users/mariobehling/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":10,"state":"open","created_at":"2015-06-21T12:16:33Z","updated_at":"2015-06-30T12:38:33Z","due_on":"2015-07-09T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-06-30T12:38:33Z","updated_at":"2015-06-30T12:46:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/loklak/loklak_webclient/pulls/251","html_url":"https://github.com/loklak/loklak_webclient/pull/251","diff_url":"https://github.com/loklak/loklak_webclient/pull/251.diff","patch_url":"https://github.com/loklak/loklak_webclient/pull/251.patch"},"body":"Issue: #73\r\n\r\nThe server gave around 100 values for the histogram which resulted in something like this:\r\n![image](https://cloud.githubusercontent.com/assets/5436027/8430840/3739f0e6-1f52-11e5-85c5-0a5f028d4f6c.png)\r\nA temporary solution was to just show the last 25 values. However it was an incorrect representation of the entire data set.\r\n\r\nThis PR implements histogram binning. The data is divided into a fixed no of intervals or \"bins\" and the sum of the values which fall into that interval is taken as the value of the bin. The `binCount` is currently at 10. It can be configured easily. This is the new result: (Notice the spike when the last epi of GOT was released)\r\n![image](https://cloud.githubusercontent.com/assets/5436027/8430817/0522d0be-1f52-11e5-972d-e306130c7522.png)\r\n\r\n\r\nNote: The PR also contains some other changes which are not to be reviewed and will not affect overall functionality.\r\n"},"comment":{"url":"https://api.github.com/repos/loklak/loklak_webclient/issues/comments/117164100","html_url":"https://github.com/loklak/loklak_webclient/pull/251#issuecomment-117164100","issue_url":"https://api.github.com/repos/loklak/loklak_webclient/issues/251","id":117164100,"user":{"login":"mariobehling","id":1583873,"avatar_url":"https://avatars.githubusercontent.com/u/1583873?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobehling","html_url":"https://github.com/mariobehling","followers_url":"https://api.github.com/users/mariobehling/followers","following_url":"https://api.github.com/users/mariobehling/following{/other_user}","gists_url":"https://api.github.com/users/mariobehling/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobehling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobehling/subscriptions","organizations_url":"https://api.github.com/users/mariobehling/orgs","repos_url":"https://api.github.com/users/mariobehling/repos","events_url":"https://api.github.com/users/mariobehling/events{/privacy}","received_events_url":"https://api.github.com/users/mariobehling/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T12:46:48Z","updated_at":"2015-06-30T12:46:48Z","body":"assigning it to @sudheesh001 as Phuc is out today."}}