{"action":"opened","number":200,"pull_request":{"url":"https://api.github.com/repos/patternfly/patternfly-ng/pulls/200","id":154243562,"html_url":"https://github.com/patternfly/patternfly-ng/pull/200","diff_url":"https://github.com/patternfly/patternfly-ng/pull/200.diff","patch_url":"https://github.com/patternfly/patternfly-ng/pull/200.patch","issue_url":"https://api.github.com/repos/patternfly/patternfly-ng/issues/200","number":200,"state":"open","locked":false,"title":"Add donut and donut-pct chart patterns","user":{"login":"jiekang","id":5430520,"avatar_url":"https://avatars2.githubusercontent.com/u/5430520?v=4","gravatar_id":"","url":"https://api.github.com/users/jiekang","html_url":"https://github.com/jiekang","followers_url":"https://api.github.com/users/jiekang/followers","following_url":"https://api.github.com/users/jiekang/following{/other_user}","gists_url":"https://api.github.com/users/jiekang/gists{/gist_id}","starred_url":"https://api.github.com/users/jiekang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiekang/subscriptions","organizations_url":"https://api.github.com/users/jiekang/orgs","repos_url":"https://api.github.com/users/jiekang/repos","events_url":"https://api.github.com/users/jiekang/events{/privacy}","received_events_url":"https://api.github.com/users/jiekang/received_events","type":"User","site_admin":false},"body":"This adds the donut and donut-pct chart patterns addressing issue #180\r\n\r\nThe patterns closely follow the angularJS versions:\r\nhttp://www.patternfly.org/angular-patternfly/#/api/patternfly.charts.component:pfDonutChart\r\nhttp://www.patternfly.org/angular-patternfly/#/api/patternfly.charts.component:pfDonutPctChart\r\n\r\nNotable differences:\r\n\r\n* donut-pct does not yet support the `label-config` option. I'm not sure if this functionality should be replicated as it seems to expand the pattern a little past a purely generic chart pattern\r\n* similar to the patternfly-ng sparkline pattern, previously stand-alone options like `chartHeight` are moved under the config as for example `config.chartHeight` or `config.centerLabel`\r\n\r\nOther notable changes:\r\n\r\n* `patternfly.pfPaletteColors` are used by the donut-pct pattern and are made available through `charts.defaults.ts`\r\n\r\nThoughts?","created_at":"2017-11-22T19:57:10Z","updated_at":"2017-11-22T19:57:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/patternfly/patternfly-ng/pulls/200/commits","review_comments_url":"https://api.github.com/repos/patternfly/patternfly-ng/pulls/200/comments","review_comment_url":"https://api.github.com/repos/patternfly/patternfly-ng/pulls/comments{/number}","comments_url":"https://api.github.com/repos/patternfly/patternfly-ng/issues/200/comments","statuses_url":"https://api.github.com/repos/patternfly/patternfly-ng/statuses/a96693a44b606fbf1e722fd674330492d5e625ce","head":{"label":"jiekang:donut-chart","ref":"donut-chart","sha":"a96693a44b606fbf1e722fd674330492d5e625ce","user":{"login":"jiekang","id":5430520,"avatar_url":"https://avatars2.githubusercontent.com/u/5430520?v=4","gravatar_id":"","url":"https://api.github.com/users/jiekang","html_url":"https://github.com/jiekang","followers_url":"https://api.github.com/users/jiekang/followers","following_url":"https://api.github.com/users/jiekang/following{/other_user}","gists_url":"https://api.github.com/users/jiekang/gists{/gist_id}","starred_url":"https://api.github.com/users/jiekang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiekang/subscriptions","organizations_url":"https://api.github.com/users/jiekang/orgs","repos_url":"https://api.github.com/users/jiekang/repos","events_url":"https://api.github.com/users/jiekang/events{/privacy}","received_events_url":"https://api.github.com/users/jiekang/received_events","type":"User","site_admin":false},"repo":{"id":111124717,"name":"patternfly-ng","full_name":"jiekang/patternfly-ng","owner":{"login":"jiekang","id":5430520,"avatar_url":"https://avatars2.githubusercontent.com/u/5430520?v=4","gravatar_id":"","url":"https://api.github.com/users/jiekang","html_url":"https://github.com/jiekang","followers_url":"https://api.github.com/users/jiekang/followers","following_url":"https://api.github.com/users/jiekang/following{/other_user}","gists_url":"https://api.github.com/users/jiekang/gists{/gist_id}","starred_url":"https://api.github.com/users/jiekang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiekang/subscriptions","organizations_url":"https://api.github.com/users/jiekang/orgs","repos_url":"https://api.github.com/users/jiekang/repos","events_url":"https://api.github.com/users/jiekang/events{/privacy}","received_events_url":"https://api.github.com/users/jiekang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiekang/patternfly-ng","description":"PatternFly for Angular 2+","fork":true,"url":"https://api.github.com/repos/jiekang/patternfly-ng","forks_url":"https://api.github.com/repos/jiekang/patternfly-ng/forks","keys_url":"https://api.github.com/repos/jiekang/patternfly-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiekang/patternfly-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiekang/patternfly-ng/teams","hooks_url":"https://api.github.com/repos/jiekang/patternfly-ng/hooks","issue_events_url":"https://api.github.com/repos/jiekang/patternfly-ng/issues/events{/number}","events_url":"https://api.github.com/repos/jiekang/patternfly-ng/events","assignees_url":"https://api.github.com/repos/jiekang/patternfly-ng/assignees{/user}","branches_url":"https://api.github.com/repos/jiekang/patternfly-ng/branches{/branch}","tags_url":"https://api.github.com/repos/jiekang/patternfly-ng/tags","blobs_url":"https://api.github.com/repos/jiekang/patternfly-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiekang/patternfly-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiekang/patternfly-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiekang/patternfly-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiekang/patternfly-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/jiekang/patternfly-ng/languages","stargazers_url":"https://api.github.com/repos/jiekang/patternfly-ng/stargazers","contributors_url":"https://api.github.com/repos/jiekang/patternfly-ng/contributors","subscribers_url":"https://api.github.com/repos/jiekang/patternfly-ng/subscribers","subscription_url":"https://api.github.com/repos/jiekang/patternfly-ng/subscription","commits_url":"https://api.github.com/repos/jiekang/patternfly-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiekang/patternfly-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiekang/patternfly-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiekang/patternfly-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiekang/patternfly-ng/contents/{+path}","compare_url":"https://api.github.com/repos/jiekang/patternfly-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiekang/patternfly-ng/merges","archive_url":"https://api.github.com/repos/jiekang/patternfly-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiekang/patternfly-ng/downloads","issues_url":"https://api.github.com/repos/jiekang/patternfly-ng/issues{/number}","pulls_url":"https://api.github.com/repos/jiekang/patternfly-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/jiekang/patternfly-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/jiekang/patternfly-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiekang/patternfly-ng/labels{/name}","releases_url":"https://api.github.com/repos/jiekang/patternfly-ng/releases{/id}","deployments_url":"https://api.github.com/repos/jiekang/patternfly-ng/deployments","created_at":"2017-11-17T16:19:48Z","updated_at":"2017-11-21T22:10:01Z","pushed_at":"2017-11-22T19:52:52Z","git_url":"git://github.com/jiekang/patternfly-ng.git","ssh_url":"git@github.com:jiekang/patternfly-ng.git","clone_url":"https://github.com/jiekang/patternfly-ng.git","svn_url":"https://github.com/jiekang/patternfly-ng","homepage":"https://rawgit.com/patternfly/patternfly-ng/master-dist/dist-demo/#/","size":26090,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"patternfly:master","ref":"master","sha":"70cb59b201614057bee97314c1b4b82e9a9b06b9","user":{"login":"patternfly","id":6391110,"avatar_url":"https://avatars3.githubusercontent.com/u/6391110?v=4","gravatar_id":"","url":"https://api.github.com/users/patternfly","html_url":"https://github.com/patternfly","followers_url":"https://api.github.com/users/patternfly/followers","following_url":"https://api.github.com/users/patternfly/following{/other_user}","gists_url":"https://api.github.com/users/patternfly/gists{/gist_id}","starred_url":"https://api.github.com/users/patternfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patternfly/subscriptions","organizations_url":"https://api.github.com/users/patternfly/orgs","repos_url":"https://api.github.com/users/patternfly/repos","events_url":"https://api.github.com/users/patternfly/events{/privacy}","received_events_url":"https://api.github.com/users/patternfly/received_events","type":"Organization","site_admin":false},"repo":{"id":84369917,"name":"patternfly-ng","full_name":"patternfly/patternfly-ng","owner":{"login":"patternfly","id":6391110,"avatar_url":"https://avatars3.githubusercontent.com/u/6391110?v=4","gravatar_id":"","url":"https://api.github.com/users/patternfly","html_url":"https://github.com/patternfly","followers_url":"https://api.github.com/users/patternfly/followers","following_url":"https://api.github.com/users/patternfly/following{/other_user}","gists_url":"https://api.github.com/users/patternfly/gists{/gist_id}","starred_url":"https://api.github.com/users/patternfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patternfly/subscriptions","organizations_url":"https://api.github.com/users/patternfly/orgs","repos_url":"https://api.github.com/users/patternfly/repos","events_url":"https://api.github.com/users/patternfly/events{/privacy}","received_events_url":"https://api.github.com/users/patternfly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/patternfly/patternfly-ng","description":"PatternFly for Angular 2+","fork":false,"url":"https://api.github.com/repos/patternfly/patternfly-ng","forks_url":"https://api.github.com/repos/patternfly/patternfly-ng/forks","keys_url":"https://api.github.com/repos/patternfly/patternfly-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/patternfly/patternfly-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/patternfly/patternfly-ng/teams","hooks_url":"https://api.github.com/repos/patternfly/patternfly-ng/hooks","issue_events_url":"https://api.github.com/repos/patternfly/patternfly-ng/issues/events{/number}","events_url":"https://api.github.com/repos/patternfly/patternfly-ng/events","assignees_url":"https://api.github.com/repos/patternfly/patternfly-ng/assignees{/user}","branches_url":"https://api.github.com/repos/patternfly/patternfly-ng/branches{/branch}","tags_url":"https://api.github.com/repos/patternfly/patternfly-ng/tags","blobs_url":"https://api.github.com/repos/patternfly/patternfly-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/patternfly/patternfly-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/patternfly/patternfly-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/patternfly/patternfly-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/patternfly/patternfly-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/patternfly/patternfly-ng/languages","stargazers_url":"https://api.github.com/repos/patternfly/patternfly-ng/stargazers","contributors_url":"https://api.github.com/repos/patternfly/patternfly-ng/contributors","subscribers_url":"https://api.github.com/repos/patternfly/patternfly-ng/subscribers","subscription_url":"https://api.github.com/repos/patternfly/patternfly-ng/subscription","commits_url":"https://api.github.com/repos/patternfly/patternfly-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/patternfly/patternfly-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/patternfly/patternfly-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/patternfly/patternfly-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/patternfly/patternfly-ng/contents/{+path}","compare_url":"https://api.github.com/repos/patternfly/patternfly-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/patternfly/patternfly-ng/merges","archive_url":"https://api.github.com/repos/patternfly/patternfly-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/patternfly/patternfly-ng/downloads","issues_url":"https://api.github.com/repos/patternfly/patternfly-ng/issues{/number}","pulls_url":"https://api.github.com/repos/patternfly/patternfly-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/patternfly/patternfly-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/patternfly/patternfly-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/patternfly/patternfly-ng/labels{/name}","releases_url":"https://api.github.com/repos/patternfly/patternfly-ng/releases{/id}","deployments_url":"https://api.github.com/repos/patternfly/patternfly-ng/deployments","created_at":"2017-03-08T21:55:44Z","updated_at":"2017-11-14T15:46:35Z","pushed_at":"2017-11-21T18:10:57Z","git_url":"git://github.com/patternfly/patternfly-ng.git","ssh_url":"git@github.com:patternfly/patternfly-ng.git","clone_url":"https://github.com/patternfly/patternfly-ng.git","svn_url":"https://github.com/patternfly/patternfly-ng","homepage":"https://rawgit.com/patternfly/patternfly-ng/master-dist/dist-demo/#/","size":26109,"stargazers_count":22,"watchers_count":22,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":35,"forks":23,"open_issues":35,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/patternfly/patternfly-ng/pulls/200"},"html":{"href":"https://github.com/patternfly/patternfly-ng/pull/200"},"issue":{"href":"https://api.github.com/repos/patternfly/patternfly-ng/issues/200"},"comments":{"href":"https://api.github.com/repos/patternfly/patternfly-ng/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/patternfly/patternfly-ng/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/patternfly/patternfly-ng/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/patternfly/patternfly-ng/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/patternfly/patternfly-ng/statuses/a96693a44b606fbf1e722fd674330492d5e625ce"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":13,"additions":882,"deletions":2,"changed_files":19}}
{"actor":{"display_login":"jiekang"}}