{"action":"created","comment":{"url":"https://api.github.com/repos/grafana/grafana/pulls/comments/82776484","pull_request_review_id":3659281,"id":82776484,"diff_hunk":"@@ -273,6 +273,11 @@ module.directive('grafanaGraph', function($rootScope, timeSrv) {\n           default: {\n             if (data.length && data[0].stats.timeStep) {\n               options.series.bars.barWidth = data[0].stats.timeStep / 1.5;\n+              for (let i = 1; i < data.length; i++) {\n+                if ((data[i].stats.timeStep / 1.5) < options.series.bars.barWidth) {\n+                  options.series.bars.barWidth = data[i].stats.timeStep / 1.5;","path":"public/app/plugins/panel/graph/graph.ts","position":6,"original_position":6,"commit_id":"6fcab55a5f409dd0bc5f64412986d15b88ce8236","original_commit_id":"6fcab55a5f409dd0bc5f64412986d15b88ce8236","user":{"login":"benrubson","id":6764151,"avatar_url":"https://avatars.githubusercontent.com/u/6764151?v=3","gravatar_id":"","url":"https://api.github.com/users/benrubson","html_url":"https://github.com/benrubson","followers_url":"https://api.github.com/users/benrubson/followers","following_url":"https://api.github.com/users/benrubson/following{/other_user}","gists_url":"https://api.github.com/users/benrubson/gists{/gist_id}","starred_url":"https://api.github.com/users/benrubson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrubson/subscriptions","organizations_url":"https://api.github.com/users/benrubson/orgs","repos_url":"https://api.github.com/users/benrubson/repos","events_url":"https://api.github.com/users/benrubson/events{/privacy}","received_events_url":"https://api.github.com/users/benrubson/received_events","type":"User","site_admin":false},"body":"Yes, this change is looking for the smallest `timeStep`.\r\nIf you have several series with different `timeStep`s, you have to choose the smallest one so that bars are not too wide.","created_at":"2016-10-11T11:55:12Z","updated_at":"2016-10-11T11:55:12Z","html_url":"https://github.com/grafana/grafana/pull/6194#discussion_r82776484","pull_request_url":"https://api.github.com/repos/grafana/grafana/pulls/6194","_links":{"self":{"href":"https://api.github.com/repos/grafana/grafana/pulls/comments/82776484"},"html":{"href":"https://github.com/grafana/grafana/pull/6194#discussion_r82776484"},"pull_request":{"href":"https://api.github.com/repos/grafana/grafana/pulls/6194"}}},"pull_request":{"url":"https://api.github.com/repos/grafana/grafana/pulls/6194","id":88051401,"html_url":"https://github.com/grafana/grafana/pull/6194","diff_url":"https://github.com/grafana/grafana/pull/6194.diff","patch_url":"https://github.com/grafana/grafana/pull/6194.patch","issue_url":"https://api.github.com/repos/grafana/grafana/issues/6194","number":6194,"state":"open","locked":false,"title":"Patch: Stacking of series with missing values","user":{"login":"benrubson","id":6764151,"avatar_url":"https://avatars.githubusercontent.com/u/6764151?v=3","gravatar_id":"","url":"https://api.github.com/users/benrubson","html_url":"https://github.com/benrubson","followers_url":"https://api.github.com/users/benrubson/followers","following_url":"https://api.github.com/users/benrubson/following{/other_user}","gists_url":"https://api.github.com/users/benrubson/gists{/gist_id}","starred_url":"https://api.github.com/users/benrubson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrubson/subscriptions","organizations_url":"https://api.github.com/users/benrubson/orgs","repos_url":"https://api.github.com/users/benrubson/repos","events_url":"https://api.github.com/users/benrubson/events{/privacy}","received_events_url":"https://api.github.com/users/benrubson/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\nThis PR solves #2912 !\r\n\r\nThank you 👍 \r\n\r\nBen","created_at":"2016-10-05T10:21:08Z","updated_at":"2016-10-11T11:55:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"287f606e08cff4e973197fe60be9675bf02ad6ee","assignee":{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"assignees":[{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/grafana/grafana/milestones/23","html_url":"https://github.com/grafana/grafana/milestones/4.0.0","labels_url":"https://api.github.com/repos/grafana/grafana/milestones/23/labels","id":1490356,"number":23,"title":"4.0.0","description":"","creator":{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":2,"state":"open","created_at":"2016-01-07T20:49:42Z","updated_at":"2016-10-06T06:08:31Z","due_on":"2016-10-30T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/grafana/grafana/pulls/6194/commits","review_comments_url":"https://api.github.com/repos/grafana/grafana/pulls/6194/comments","review_comment_url":"https://api.github.com/repos/grafana/grafana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/6194/comments","statuses_url":"https://api.github.com/repos/grafana/grafana/statuses/6fcab55a5f409dd0bc5f64412986d15b88ce8236","head":{"label":"benrubson:patch-2912","ref":"patch-2912","sha":"6fcab55a5f409dd0bc5f64412986d15b88ce8236","user":{"login":"benrubson","id":6764151,"avatar_url":"https://avatars.githubusercontent.com/u/6764151?v=3","gravatar_id":"","url":"https://api.github.com/users/benrubson","html_url":"https://github.com/benrubson","followers_url":"https://api.github.com/users/benrubson/followers","following_url":"https://api.github.com/users/benrubson/following{/other_user}","gists_url":"https://api.github.com/users/benrubson/gists{/gist_id}","starred_url":"https://api.github.com/users/benrubson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrubson/subscriptions","organizations_url":"https://api.github.com/users/benrubson/orgs","repos_url":"https://api.github.com/users/benrubson/repos","events_url":"https://api.github.com/users/benrubson/events{/privacy}","received_events_url":"https://api.github.com/users/benrubson/received_events","type":"User","site_admin":false},"repo":{"id":70048893,"name":"grafana","full_name":"benrubson/grafana","owner":{"login":"benrubson","id":6764151,"avatar_url":"https://avatars.githubusercontent.com/u/6764151?v=3","gravatar_id":"","url":"https://api.github.com/users/benrubson","html_url":"https://github.com/benrubson","followers_url":"https://api.github.com/users/benrubson/followers","following_url":"https://api.github.com/users/benrubson/following{/other_user}","gists_url":"https://api.github.com/users/benrubson/gists{/gist_id}","starred_url":"https://api.github.com/users/benrubson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrubson/subscriptions","organizations_url":"https://api.github.com/users/benrubson/orgs","repos_url":"https://api.github.com/users/benrubson/repos","events_url":"https://api.github.com/users/benrubson/events{/privacy}","received_events_url":"https://api.github.com/users/benrubson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benrubson/grafana","description":"Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB","fork":true,"url":"https://api.github.com/repos/benrubson/grafana","forks_url":"https://api.github.com/repos/benrubson/grafana/forks","keys_url":"https://api.github.com/repos/benrubson/grafana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benrubson/grafana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benrubson/grafana/teams","hooks_url":"https://api.github.com/repos/benrubson/grafana/hooks","issue_events_url":"https://api.github.com/repos/benrubson/grafana/issues/events{/number}","events_url":"https://api.github.com/repos/benrubson/grafana/events","assignees_url":"https://api.github.com/repos/benrubson/grafana/assignees{/user}","branches_url":"https://api.github.com/repos/benrubson/grafana/branches{/branch}","tags_url":"https://api.github.com/repos/benrubson/grafana/tags","blobs_url":"https://api.github.com/repos/benrubson/grafana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benrubson/grafana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benrubson/grafana/git/refs{/sha}","trees_url":"https://api.github.com/repos/benrubson/grafana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benrubson/grafana/statuses/{sha}","languages_url":"https://api.github.com/repos/benrubson/grafana/languages","stargazers_url":"https://api.github.com/repos/benrubson/grafana/stargazers","contributors_url":"https://api.github.com/repos/benrubson/grafana/contributors","subscribers_url":"https://api.github.com/repos/benrubson/grafana/subscribers","subscription_url":"https://api.github.com/repos/benrubson/grafana/subscription","commits_url":"https://api.github.com/repos/benrubson/grafana/commits{/sha}","git_commits_url":"https://api.github.com/repos/benrubson/grafana/git/commits{/sha}","comments_url":"https://api.github.com/repos/benrubson/grafana/comments{/number}","issue_comment_url":"https://api.github.com/repos/benrubson/grafana/issues/comments{/number}","contents_url":"https://api.github.com/repos/benrubson/grafana/contents/{+path}","compare_url":"https://api.github.com/repos/benrubson/grafana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benrubson/grafana/merges","archive_url":"https://api.github.com/repos/benrubson/grafana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benrubson/grafana/downloads","issues_url":"https://api.github.com/repos/benrubson/grafana/issues{/number}","pulls_url":"https://api.github.com/repos/benrubson/grafana/pulls{/number}","milestones_url":"https://api.github.com/repos/benrubson/grafana/milestones{/number}","notifications_url":"https://api.github.com/repos/benrubson/grafana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benrubson/grafana/labels{/name}","releases_url":"https://api.github.com/repos/benrubson/grafana/releases{/id}","deployments_url":"https://api.github.com/repos/benrubson/grafana/deployments","created_at":"2016-10-05T10:05:06Z","updated_at":"2016-10-05T10:05:10Z","pushed_at":"2016-10-08T07:41:46Z","git_url":"git://github.com/benrubson/grafana.git","ssh_url":"git@github.com:benrubson/grafana.git","clone_url":"https://github.com/benrubson/grafana.git","svn_url":"https://github.com/benrubson/grafana","homepage":"http://grafana.org","size":101505,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"grafana:master","ref":"master","sha":"92121ea656dd6bad61c9aef1e438ff9ae9cf9b95","user":{"login":"grafana","id":7195757,"avatar_url":"https://avatars.githubusercontent.com/u/7195757?v=3","gravatar_id":"","url":"https://api.github.com/users/grafana","html_url":"https://github.com/grafana","followers_url":"https://api.github.com/users/grafana/followers","following_url":"https://api.github.com/users/grafana/following{/other_user}","gists_url":"https://api.github.com/users/grafana/gists{/gist_id}","starred_url":"https://api.github.com/users/grafana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grafana/subscriptions","organizations_url":"https://api.github.com/users/grafana/orgs","repos_url":"https://api.github.com/users/grafana/repos","events_url":"https://api.github.com/users/grafana/events{/privacy}","received_events_url":"https://api.github.com/users/grafana/received_events","type":"Organization","site_admin":false},"repo":{"id":15111821,"name":"grafana","full_name":"grafana/grafana","owner":{"login":"grafana","id":7195757,"avatar_url":"https://avatars.githubusercontent.com/u/7195757?v=3","gravatar_id":"","url":"https://api.github.com/users/grafana","html_url":"https://github.com/grafana","followers_url":"https://api.github.com/users/grafana/followers","following_url":"https://api.github.com/users/grafana/following{/other_user}","gists_url":"https://api.github.com/users/grafana/gists{/gist_id}","starred_url":"https://api.github.com/users/grafana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grafana/subscriptions","organizations_url":"https://api.github.com/users/grafana/orgs","repos_url":"https://api.github.com/users/grafana/repos","events_url":"https://api.github.com/users/grafana/events{/privacy}","received_events_url":"https://api.github.com/users/grafana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grafana/grafana","description":"Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB","fork":false,"url":"https://api.github.com/repos/grafana/grafana","forks_url":"https://api.github.com/repos/grafana/grafana/forks","keys_url":"https://api.github.com/repos/grafana/grafana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grafana/grafana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grafana/grafana/teams","hooks_url":"https://api.github.com/repos/grafana/grafana/hooks","issue_events_url":"https://api.github.com/repos/grafana/grafana/issues/events{/number}","events_url":"https://api.github.com/repos/grafana/grafana/events","assignees_url":"https://api.github.com/repos/grafana/grafana/assignees{/user}","branches_url":"https://api.github.com/repos/grafana/grafana/branches{/branch}","tags_url":"https://api.github.com/repos/grafana/grafana/tags","blobs_url":"https://api.github.com/repos/grafana/grafana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grafana/grafana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grafana/grafana/git/refs{/sha}","trees_url":"https://api.github.com/repos/grafana/grafana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grafana/grafana/statuses/{sha}","languages_url":"https://api.github.com/repos/grafana/grafana/languages","stargazers_url":"https://api.github.com/repos/grafana/grafana/stargazers","contributors_url":"https://api.github.com/repos/grafana/grafana/contributors","subscribers_url":"https://api.github.com/repos/grafana/grafana/subscribers","subscription_url":"https://api.github.com/repos/grafana/grafana/subscription","commits_url":"https://api.github.com/repos/grafana/grafana/commits{/sha}","git_commits_url":"https://api.github.com/repos/grafana/grafana/git/commits{/sha}","comments_url":"https://api.github.com/repos/grafana/grafana/comments{/number}","issue_comment_url":"https://api.github.com/repos/grafana/grafana/issues/comments{/number}","contents_url":"https://api.github.com/repos/grafana/grafana/contents/{+path}","compare_url":"https://api.github.com/repos/grafana/grafana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grafana/grafana/merges","archive_url":"https://api.github.com/repos/grafana/grafana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grafana/grafana/downloads","issues_url":"https://api.github.com/repos/grafana/grafana/issues{/number}","pulls_url":"https://api.github.com/repos/grafana/grafana/pulls{/number}","milestones_url":"https://api.github.com/repos/grafana/grafana/milestones{/number}","notifications_url":"https://api.github.com/repos/grafana/grafana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grafana/grafana/labels{/name}","releases_url":"https://api.github.com/repos/grafana/grafana/releases{/id}","deployments_url":"https://api.github.com/repos/grafana/grafana/deployments","created_at":"2013-12-11T15:59:56Z","updated_at":"2016-10-11T08:56:10Z","pushed_at":"2016-10-11T11:53:50Z","git_url":"git://github.com/grafana/grafana.git","ssh_url":"git@github.com:grafana/grafana.git","clone_url":"https://github.com/grafana/grafana.git","svn_url":"https://github.com/grafana/grafana","homepage":"http://grafana.org","size":147375,"stargazers_count":12155,"watchers_count":12155,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1864,"mirror_url":null,"open_issues_count":742,"forks":1864,"open_issues":742,"watchers":12155,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grafana/grafana/pulls/6194"},"html":{"href":"https://github.com/grafana/grafana/pull/6194"},"issue":{"href":"https://api.github.com/repos/grafana/grafana/issues/6194"},"comments":{"href":"https://api.github.com/repos/grafana/grafana/issues/6194/comments"},"review_comments":{"href":"https://api.github.com/repos/grafana/grafana/pulls/6194/comments"},"review_comment":{"href":"https://api.github.com/repos/grafana/grafana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grafana/grafana/pulls/6194/commits"},"statuses":{"href":"https://api.github.com/repos/grafana/grafana/statuses/6fcab55a5f409dd0bc5f64412986d15b88ce8236"}}}}
{"actor":{"display_login":"benrubson"}}