{"action":"closed","number":291,"pull_request":{"url":"https://api.github.com/repos/Kozea/pygal/pulls/291","id":54763567,"html_url":"https://github.com/Kozea/pygal/pull/291","diff_url":"https://github.com/Kozea/pygal/pull/291.diff","patch_url":"https://github.com/Kozea/pygal/pull/291.patch","issue_url":"https://api.github.com/repos/Kozea/pygal/issues/291","number":291,"state":"closed","locked":false,"title":"Added option to put value label on bottom, top or middle.","user":{"login":"chartique","id":13579256,"avatar_url":"https://avatars.githubusercontent.com/u/13579256?v=3","gravatar_id":"","url":"https://api.github.com/users/chartique","html_url":"https://github.com/chartique","followers_url":"https://api.github.com/users/chartique/followers","following_url":"https://api.github.com/users/chartique/following{/other_user}","gists_url":"https://api.github.com/users/chartique/gists{/gist_id}","starred_url":"https://api.github.com/users/chartique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chartique/subscriptions","organizations_url":"https://api.github.com/users/chartique/orgs","repos_url":"https://api.github.com/users/chartique/repos","events_url":"https://api.github.com/users/chartique/events{/privacy}","received_events_url":"https://api.github.com/users/chartique/received_events","type":"User","site_admin":false},"body":"When creating a bar chart you have an additional option called \"position_values\" that can hold the values 'top', 'bottom' or 'middle'. Either one of those values will force print_values to be True.\r\n\r\nExample \"top\":\r\nchart = pygal.Bar(position_values='top')\r\nchart.add('Series 1', [121, 63, 54, 67, 89])\r\nchart.render()\r\n\r\n![image](https://cloud.githubusercontent.com/assets/13579256/12043233/2f038f66-ae51-11e5-97af-794cae0d15a7.png)\r\n\r\nExample \"bottom\":\r\nchart = pygal.Bar(position_values='bottom')\r\nchart.add('Series 1', [121, 63, 54, 67, 89])\r\nchart.render()\r\n\r\n![image](https://cloud.githubusercontent.com/assets/13579256/12043247/58b8360e-ae51-11e5-9053-06698f0d9d82.png)\r\n\r\nFeature works with HorizontalBar and Bar, it also works with inverse_y=True as well as logarithmic = True","created_at":"2015-12-29T22:28:35Z","updated_at":"2015-12-30T01:46:10Z","closed_at":"2015-12-30T01:46:10Z","merged_at":null,"merge_commit_sha":"40010726bc504b93e0f075f06f2bb65f50459f50","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kozea/pygal/pulls/291/commits","review_comments_url":"https://api.github.com/repos/Kozea/pygal/pulls/291/comments","review_comment_url":"https://api.github.com/repos/Kozea/pygal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kozea/pygal/issues/291/comments","statuses_url":"https://api.github.com/repos/Kozea/pygal/statuses/82a29806f3230f4845b8aa777b61657c0bb09b50","head":{"label":"chartique:master","ref":"master","sha":"82a29806f3230f4845b8aa777b61657c0bb09b50","user":{"login":"chartique","id":13579256,"avatar_url":"https://avatars.githubusercontent.com/u/13579256?v=3","gravatar_id":"","url":"https://api.github.com/users/chartique","html_url":"https://github.com/chartique","followers_url":"https://api.github.com/users/chartique/followers","following_url":"https://api.github.com/users/chartique/following{/other_user}","gists_url":"https://api.github.com/users/chartique/gists{/gist_id}","starred_url":"https://api.github.com/users/chartique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chartique/subscriptions","organizations_url":"https://api.github.com/users/chartique/orgs","repos_url":"https://api.github.com/users/chartique/repos","events_url":"https://api.github.com/users/chartique/events{/privacy}","received_events_url":"https://api.github.com/users/chartique/received_events","type":"User","site_admin":false},"repo":{"id":48747530,"name":"pygal","full_name":"chartique/pygal","owner":{"login":"chartique","id":13579256,"avatar_url":"https://avatars.githubusercontent.com/u/13579256?v=3","gravatar_id":"","url":"https://api.github.com/users/chartique","html_url":"https://github.com/chartique","followers_url":"https://api.github.com/users/chartique/followers","following_url":"https://api.github.com/users/chartique/following{/other_user}","gists_url":"https://api.github.com/users/chartique/gists{/gist_id}","starred_url":"https://api.github.com/users/chartique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chartique/subscriptions","organizations_url":"https://api.github.com/users/chartique/orgs","repos_url":"https://api.github.com/users/chartique/repos","events_url":"https://api.github.com/users/chartique/events{/privacy}","received_events_url":"https://api.github.com/users/chartique/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chartique/pygal","description":"PYthon svg GrAph plotting Library","fork":true,"url":"https://api.github.com/repos/chartique/pygal","forks_url":"https://api.github.com/repos/chartique/pygal/forks","keys_url":"https://api.github.com/repos/chartique/pygal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chartique/pygal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chartique/pygal/teams","hooks_url":"https://api.github.com/repos/chartique/pygal/hooks","issue_events_url":"https://api.github.com/repos/chartique/pygal/issues/events{/number}","events_url":"https://api.github.com/repos/chartique/pygal/events","assignees_url":"https://api.github.com/repos/chartique/pygal/assignees{/user}","branches_url":"https://api.github.com/repos/chartique/pygal/branches{/branch}","tags_url":"https://api.github.com/repos/chartique/pygal/tags","blobs_url":"https://api.github.com/repos/chartique/pygal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chartique/pygal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chartique/pygal/git/refs{/sha}","trees_url":"https://api.github.com/repos/chartique/pygal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chartique/pygal/statuses/{sha}","languages_url":"https://api.github.com/repos/chartique/pygal/languages","stargazers_url":"https://api.github.com/repos/chartique/pygal/stargazers","contributors_url":"https://api.github.com/repos/chartique/pygal/contributors","subscribers_url":"https://api.github.com/repos/chartique/pygal/subscribers","subscription_url":"https://api.github.com/repos/chartique/pygal/subscription","commits_url":"https://api.github.com/repos/chartique/pygal/commits{/sha}","git_commits_url":"https://api.github.com/repos/chartique/pygal/git/commits{/sha}","comments_url":"https://api.github.com/repos/chartique/pygal/comments{/number}","issue_comment_url":"https://api.github.com/repos/chartique/pygal/issues/comments{/number}","contents_url":"https://api.github.com/repos/chartique/pygal/contents/{+path}","compare_url":"https://api.github.com/repos/chartique/pygal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chartique/pygal/merges","archive_url":"https://api.github.com/repos/chartique/pygal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chartique/pygal/downloads","issues_url":"https://api.github.com/repos/chartique/pygal/issues{/number}","pulls_url":"https://api.github.com/repos/chartique/pygal/pulls{/number}","milestones_url":"https://api.github.com/repos/chartique/pygal/milestones{/number}","notifications_url":"https://api.github.com/repos/chartique/pygal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chartique/pygal/labels{/name}","releases_url":"https://api.github.com/repos/chartique/pygal/releases{/id}","created_at":"2015-12-29T12:54:58Z","updated_at":"2015-12-29T12:54:59Z","pushed_at":"2015-12-30T01:46:10Z","git_url":"git://github.com/chartique/pygal.git","ssh_url":"git@github.com:chartique/pygal.git","clone_url":"https://github.com/chartique/pygal.git","svn_url":"https://github.com/chartique/pygal","homepage":"http://pygal.org","size":4421,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"2.0.0"}},"base":{"label":"Kozea:master","ref":"master","sha":"4113061cacd45bad7dc04b4abd3ae253b25be98b","user":{"login":"Kozea","id":870325,"avatar_url":"https://avatars.githubusercontent.com/u/870325?v=3","gravatar_id":"","url":"https://api.github.com/users/Kozea","html_url":"https://github.com/Kozea","followers_url":"https://api.github.com/users/Kozea/followers","following_url":"https://api.github.com/users/Kozea/following{/other_user}","gists_url":"https://api.github.com/users/Kozea/gists{/gist_id}","starred_url":"https://api.github.com/users/Kozea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kozea/subscriptions","organizations_url":"https://api.github.com/users/Kozea/orgs","repos_url":"https://api.github.com/users/Kozea/repos","events_url":"https://api.github.com/users/Kozea/events{/privacy}","received_events_url":"https://api.github.com/users/Kozea/received_events","type":"Organization","site_admin":false},"repo":{"id":2443236,"name":"pygal","full_name":"Kozea/pygal","owner":{"login":"Kozea","id":870325,"avatar_url":"https://avatars.githubusercontent.com/u/870325?v=3","gravatar_id":"","url":"https://api.github.com/users/Kozea","html_url":"https://github.com/Kozea","followers_url":"https://api.github.com/users/Kozea/followers","following_url":"https://api.github.com/users/Kozea/following{/other_user}","gists_url":"https://api.github.com/users/Kozea/gists{/gist_id}","starred_url":"https://api.github.com/users/Kozea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kozea/subscriptions","organizations_url":"https://api.github.com/users/Kozea/orgs","repos_url":"https://api.github.com/users/Kozea/repos","events_url":"https://api.github.com/users/Kozea/events{/privacy}","received_events_url":"https://api.github.com/users/Kozea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kozea/pygal","description":"PYthon svg GrAph plotting Library","fork":false,"url":"https://api.github.com/repos/Kozea/pygal","forks_url":"https://api.github.com/repos/Kozea/pygal/forks","keys_url":"https://api.github.com/repos/Kozea/pygal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kozea/pygal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kozea/pygal/teams","hooks_url":"https://api.github.com/repos/Kozea/pygal/hooks","issue_events_url":"https://api.github.com/repos/Kozea/pygal/issues/events{/number}","events_url":"https://api.github.com/repos/Kozea/pygal/events","assignees_url":"https://api.github.com/repos/Kozea/pygal/assignees{/user}","branches_url":"https://api.github.com/repos/Kozea/pygal/branches{/branch}","tags_url":"https://api.github.com/repos/Kozea/pygal/tags","blobs_url":"https://api.github.com/repos/Kozea/pygal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kozea/pygal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kozea/pygal/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kozea/pygal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kozea/pygal/statuses/{sha}","languages_url":"https://api.github.com/repos/Kozea/pygal/languages","stargazers_url":"https://api.github.com/repos/Kozea/pygal/stargazers","contributors_url":"https://api.github.com/repos/Kozea/pygal/contributors","subscribers_url":"https://api.github.com/repos/Kozea/pygal/subscribers","subscription_url":"https://api.github.com/repos/Kozea/pygal/subscription","commits_url":"https://api.github.com/repos/Kozea/pygal/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kozea/pygal/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kozea/pygal/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kozea/pygal/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kozea/pygal/contents/{+path}","compare_url":"https://api.github.com/repos/Kozea/pygal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kozea/pygal/merges","archive_url":"https://api.github.com/repos/Kozea/pygal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kozea/pygal/downloads","issues_url":"https://api.github.com/repos/Kozea/pygal/issues{/number}","pulls_url":"https://api.github.com/repos/Kozea/pygal/pulls{/number}","milestones_url":"https://api.github.com/repos/Kozea/pygal/milestones{/number}","notifications_url":"https://api.github.com/repos/Kozea/pygal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kozea/pygal/labels{/name}","releases_url":"https://api.github.com/repos/Kozea/pygal/releases{/id}","created_at":"2011-09-23T10:17:50Z","updated_at":"2015-12-29T12:58:25Z","pushed_at":"2015-12-30T00:58:26Z","git_url":"git://github.com/Kozea/pygal.git","ssh_url":"git@github.com:Kozea/pygal.git","clone_url":"https://github.com/Kozea/pygal.git","svn_url":"https://github.com/Kozea/pygal","homepage":"http://pygal.org","size":5522,"stargazers_count":1216,"watchers_count":1216,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":254,"mirror_url":null,"open_issues_count":45,"forks":254,"open_issues":45,"watchers":1216,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kozea/pygal/pulls/291"},"html":{"href":"https://github.com/Kozea/pygal/pull/291"},"issue":{"href":"https://api.github.com/repos/Kozea/pygal/issues/291"},"comments":{"href":"https://api.github.com/repos/Kozea/pygal/issues/291/comments"},"review_comments":{"href":"https://api.github.com/repos/Kozea/pygal/pulls/291/comments"},"review_comment":{"href":"https://api.github.com/repos/Kozea/pygal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kozea/pygal/pulls/291/commits"},"statuses":{"href":"https://api.github.com/repos/Kozea/pygal/statuses/82a29806f3230f4845b8aa777b61657c0bb09b50"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":49,"deletions":10,"changed_files":6}}