{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/alfredkam/yakojs/pulls/21","id":29492011,"html_url":"https://github.com/alfredkam/yakojs/pull/21","diff_url":"https://github.com/alfredkam/yakojs/pull/21.diff","patch_url":"https://github.com/alfredkam/yakojs/pull/21.patch","issue_url":"https://api.github.com/repos/alfredkam/yakojs/issues/21","number":21,"state":"closed","locked":false,"title":"Allows charts to be responsive","user":{"login":"lancekruegger","id":1920934,"avatar_url":"https://avatars.githubusercontent.com/u/1920934?v=3","gravatar_id":"","url":"https://api.github.com/users/lancekruegger","html_url":"https://github.com/lancekruegger","followers_url":"https://api.github.com/users/lancekruegger/followers","following_url":"https://api.github.com/users/lancekruegger/following{/other_user}","gists_url":"https://api.github.com/users/lancekruegger/gists{/gist_id}","starred_url":"https://api.github.com/users/lancekruegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lancekruegger/subscriptions","organizations_url":"https://api.github.com/users/lancekruegger/orgs","repos_url":"https://api.github.com/users/lancekruegger/repos","events_url":"https://api.github.com/users/lancekruegger/events{/privacy}","received_events_url":"https://api.github.com/users/lancekruegger/received_events","type":"User","site_admin":false},"body":"The last few commits have gone in and manually set the width attribute of the SVG element to the chart options width. This doesn't allow the charts to be responsive. It is indicated in lib/base.js line 5 that these charts are to be responsive for resizing. I think I've got this figured out for the most part. I tested with a spark line graph. Let me know your thoughts. ","created_at":"2015-02-18T00:38:01Z","updated_at":"2015-02-18T18:58:14Z","closed_at":"2015-02-18T18:58:14Z","merged_at":"2015-02-18T18:58:14Z","merge_commit_sha":"5e4d9bf278e16c5098cc4bde6700ea8ae7f88ec7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alfredkam/yakojs/pulls/21/commits","review_comments_url":"https://api.github.com/repos/alfredkam/yakojs/pulls/21/comments","review_comment_url":"https://api.github.com/repos/alfredkam/yakojs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/alfredkam/yakojs/issues/21/comments","statuses_url":"https://api.github.com/repos/alfredkam/yakojs/statuses/7285d5231c0fdba1f159d811dca32a9c91ce283c","head":{"label":"lancekruegger:master","ref":"master","sha":"7285d5231c0fdba1f159d811dca32a9c91ce283c","user":{"login":"lancekruegger","id":1920934,"avatar_url":"https://avatars.githubusercontent.com/u/1920934?v=3","gravatar_id":"","url":"https://api.github.com/users/lancekruegger","html_url":"https://github.com/lancekruegger","followers_url":"https://api.github.com/users/lancekruegger/followers","following_url":"https://api.github.com/users/lancekruegger/following{/other_user}","gists_url":"https://api.github.com/users/lancekruegger/gists{/gist_id}","starred_url":"https://api.github.com/users/lancekruegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lancekruegger/subscriptions","organizations_url":"https://api.github.com/users/lancekruegger/orgs","repos_url":"https://api.github.com/users/lancekruegger/repos","events_url":"https://api.github.com/users/lancekruegger/events{/privacy}","received_events_url":"https://api.github.com/users/lancekruegger/received_events","type":"User","site_admin":false},"repo":{"id":30944341,"name":"yakojs","full_name":"lancekruegger/yakojs","owner":{"login":"lancekruegger","id":1920934,"avatar_url":"https://avatars.githubusercontent.com/u/1920934?v=3","gravatar_id":"","url":"https://api.github.com/users/lancekruegger","html_url":"https://github.com/lancekruegger","followers_url":"https://api.github.com/users/lancekruegger/followers","following_url":"https://api.github.com/users/lancekruegger/following{/other_user}","gists_url":"https://api.github.com/users/lancekruegger/gists{/gist_id}","starred_url":"https://api.github.com/users/lancekruegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lancekruegger/subscriptions","organizations_url":"https://api.github.com/users/lancekruegger/orgs","repos_url":"https://api.github.com/users/lancekruegger/repos","events_url":"https://api.github.com/users/lancekruegger/events{/privacy}","received_events_url":"https://api.github.com/users/lancekruegger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lancekruegger/yakojs","description":"minimal & light weight graphing library","fork":true,"url":"https://api.github.com/repos/lancekruegger/yakojs","forks_url":"https://api.github.com/repos/lancekruegger/yakojs/forks","keys_url":"https://api.github.com/repos/lancekruegger/yakojs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lancekruegger/yakojs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lancekruegger/yakojs/teams","hooks_url":"https://api.github.com/repos/lancekruegger/yakojs/hooks","issue_events_url":"https://api.github.com/repos/lancekruegger/yakojs/issues/events{/number}","events_url":"https://api.github.com/repos/lancekruegger/yakojs/events","assignees_url":"https://api.github.com/repos/lancekruegger/yakojs/assignees{/user}","branches_url":"https://api.github.com/repos/lancekruegger/yakojs/branches{/branch}","tags_url":"https://api.github.com/repos/lancekruegger/yakojs/tags","blobs_url":"https://api.github.com/repos/lancekruegger/yakojs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lancekruegger/yakojs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lancekruegger/yakojs/git/refs{/sha}","trees_url":"https://api.github.com/repos/lancekruegger/yakojs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lancekruegger/yakojs/statuses/{sha}","languages_url":"https://api.github.com/repos/lancekruegger/yakojs/languages","stargazers_url":"https://api.github.com/repos/lancekruegger/yakojs/stargazers","contributors_url":"https://api.github.com/repos/lancekruegger/yakojs/contributors","subscribers_url":"https://api.github.com/repos/lancekruegger/yakojs/subscribers","subscription_url":"https://api.github.com/repos/lancekruegger/yakojs/subscription","commits_url":"https://api.github.com/repos/lancekruegger/yakojs/commits{/sha}","git_commits_url":"https://api.github.com/repos/lancekruegger/yakojs/git/commits{/sha}","comments_url":"https://api.github.com/repos/lancekruegger/yakojs/comments{/number}","issue_comment_url":"https://api.github.com/repos/lancekruegger/yakojs/issues/comments/{number}","contents_url":"https://api.github.com/repos/lancekruegger/yakojs/contents/{+path}","compare_url":"https://api.github.com/repos/lancekruegger/yakojs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lancekruegger/yakojs/merges","archive_url":"https://api.github.com/repos/lancekruegger/yakojs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lancekruegger/yakojs/downloads","issues_url":"https://api.github.com/repos/lancekruegger/yakojs/issues{/number}","pulls_url":"https://api.github.com/repos/lancekruegger/yakojs/pulls{/number}","milestones_url":"https://api.github.com/repos/lancekruegger/yakojs/milestones{/number}","notifications_url":"https://api.github.com/repos/lancekruegger/yakojs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lancekruegger/yakojs/labels{/name}","releases_url":"https://api.github.com/repos/lancekruegger/yakojs/releases{/id}","created_at":"2015-02-17T23:51:52Z","updated_at":"2015-02-18T00:34:29Z","pushed_at":"2015-02-18T18:50:24Z","git_url":"git://github.com/lancekruegger/yakojs.git","ssh_url":"git@github.com:lancekruegger/yakojs.git","clone_url":"https://github.com/lancekruegger/yakojs.git","svn_url":"https://github.com/lancekruegger/yakojs","homepage":"","size":1421,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alfredkam:master","ref":"master","sha":"5555ad7a23f36db6dfd6014eec7e90e5f77bed87","user":{"login":"alfredkam","id":1495567,"avatar_url":"https://avatars.githubusercontent.com/u/1495567?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredkam","html_url":"https://github.com/alfredkam","followers_url":"https://api.github.com/users/alfredkam/followers","following_url":"https://api.github.com/users/alfredkam/following{/other_user}","gists_url":"https://api.github.com/users/alfredkam/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredkam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredkam/subscriptions","organizations_url":"https://api.github.com/users/alfredkam/orgs","repos_url":"https://api.github.com/users/alfredkam/repos","events_url":"https://api.github.com/users/alfredkam/events{/privacy}","received_events_url":"https://api.github.com/users/alfredkam/received_events","type":"User","site_admin":false},"repo":{"id":21193046,"name":"yakojs","full_name":"alfredkam/yakojs","owner":{"login":"alfredkam","id":1495567,"avatar_url":"https://avatars.githubusercontent.com/u/1495567?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredkam","html_url":"https://github.com/alfredkam","followers_url":"https://api.github.com/users/alfredkam/followers","following_url":"https://api.github.com/users/alfredkam/following{/other_user}","gists_url":"https://api.github.com/users/alfredkam/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredkam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredkam/subscriptions","organizations_url":"https://api.github.com/users/alfredkam/orgs","repos_url":"https://api.github.com/users/alfredkam/repos","events_url":"https://api.github.com/users/alfredkam/events{/privacy}","received_events_url":"https://api.github.com/users/alfredkam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alfredkam/yakojs","description":"minimal & light weight graphing library","fork":false,"url":"https://api.github.com/repos/alfredkam/yakojs","forks_url":"https://api.github.com/repos/alfredkam/yakojs/forks","keys_url":"https://api.github.com/repos/alfredkam/yakojs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alfredkam/yakojs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alfredkam/yakojs/teams","hooks_url":"https://api.github.com/repos/alfredkam/yakojs/hooks","issue_events_url":"https://api.github.com/repos/alfredkam/yakojs/issues/events{/number}","events_url":"https://api.github.com/repos/alfredkam/yakojs/events","assignees_url":"https://api.github.com/repos/alfredkam/yakojs/assignees{/user}","branches_url":"https://api.github.com/repos/alfredkam/yakojs/branches{/branch}","tags_url":"https://api.github.com/repos/alfredkam/yakojs/tags","blobs_url":"https://api.github.com/repos/alfredkam/yakojs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alfredkam/yakojs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alfredkam/yakojs/git/refs{/sha}","trees_url":"https://api.github.com/repos/alfredkam/yakojs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alfredkam/yakojs/statuses/{sha}","languages_url":"https://api.github.com/repos/alfredkam/yakojs/languages","stargazers_url":"https://api.github.com/repos/alfredkam/yakojs/stargazers","contributors_url":"https://api.github.com/repos/alfredkam/yakojs/contributors","subscribers_url":"https://api.github.com/repos/alfredkam/yakojs/subscribers","subscription_url":"https://api.github.com/repos/alfredkam/yakojs/subscription","commits_url":"https://api.github.com/repos/alfredkam/yakojs/commits{/sha}","git_commits_url":"https://api.github.com/repos/alfredkam/yakojs/git/commits{/sha}","comments_url":"https://api.github.com/repos/alfredkam/yakojs/comments{/number}","issue_comment_url":"https://api.github.com/repos/alfredkam/yakojs/issues/comments/{number}","contents_url":"https://api.github.com/repos/alfredkam/yakojs/contents/{+path}","compare_url":"https://api.github.com/repos/alfredkam/yakojs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alfredkam/yakojs/merges","archive_url":"https://api.github.com/repos/alfredkam/yakojs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alfredkam/yakojs/downloads","issues_url":"https://api.github.com/repos/alfredkam/yakojs/issues{/number}","pulls_url":"https://api.github.com/repos/alfredkam/yakojs/pulls{/number}","milestones_url":"https://api.github.com/repos/alfredkam/yakojs/milestones{/number}","notifications_url":"https://api.github.com/repos/alfredkam/yakojs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alfredkam/yakojs/labels{/name}","releases_url":"https://api.github.com/repos/alfredkam/yakojs/releases{/id}","created_at":"2014-06-25T06:38:59Z","updated_at":"2015-02-18T09:51:23Z","pushed_at":"2015-02-18T18:58:14Z","git_url":"git://github.com/alfredkam/yakojs.git","ssh_url":"git@github.com:alfredkam/yakojs.git","clone_url":"https://github.com/alfredkam/yakojs.git","svn_url":"https://github.com/alfredkam/yakojs","homepage":"","size":1421,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alfredkam/yakojs/pulls/21"},"html":{"href":"https://github.com/alfredkam/yakojs/pull/21"},"issue":{"href":"https://api.github.com/repos/alfredkam/yakojs/issues/21"},"comments":{"href":"https://api.github.com/repos/alfredkam/yakojs/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/alfredkam/yakojs/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/alfredkam/yakojs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/alfredkam/yakojs/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/alfredkam/yakojs/statuses/7285d5231c0fdba1f159d811dca32a9c91ce283c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hasalfred","id":7434320,"avatar_url":"https://avatars.githubusercontent.com/u/7434320?v=3","gravatar_id":"","url":"https://api.github.com/users/hasalfred","html_url":"https://github.com/hasalfred","followers_url":"https://api.github.com/users/hasalfred/followers","following_url":"https://api.github.com/users/hasalfred/following{/other_user}","gists_url":"https://api.github.com/users/hasalfred/gists{/gist_id}","starred_url":"https://api.github.com/users/hasalfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasalfred/subscriptions","organizations_url":"https://api.github.com/users/hasalfred/orgs","repos_url":"https://api.github.com/users/hasalfred/repos","events_url":"https://api.github.com/users/hasalfred/events{/privacy}","received_events_url":"https://api.github.com/users/hasalfred/received_events","type":"User","site_admin":false},"comments":0,"review_comments":6,"commits":3,"additions":14,"deletions":10,"changed_files":5}}