{"action":"opened","number":7981,"pull_request":{"url":"https://api.github.com/repos/highcharts/highcharts/pulls/7981","id":174018257,"html_url":"https://github.com/highcharts/highcharts/pull/7981","diff_url":"https://github.com/highcharts/highcharts/pull/7981.diff","patch_url":"https://github.com/highcharts/highcharts/pull/7981.patch","issue_url":"https://api.github.com/repos/highcharts/highcharts/issues/7981","number":7981,"state":"open","locked":false,"title":"Feature/pattern fill","user":{"login":"oysteinmoseng","id":5276642,"avatar_url":"https://avatars2.githubusercontent.com/u/5276642?v=4","gravatar_id":"","url":"https://api.github.com/users/oysteinmoseng","html_url":"https://github.com/oysteinmoseng","followers_url":"https://api.github.com/users/oysteinmoseng/followers","following_url":"https://api.github.com/users/oysteinmoseng/following{/other_user}","gists_url":"https://api.github.com/users/oysteinmoseng/gists{/gist_id}","starred_url":"https://api.github.com/users/oysteinmoseng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oysteinmoseng/subscriptions","organizations_url":"https://api.github.com/users/oysteinmoseng/orgs","repos_url":"https://api.github.com/users/oysteinmoseng/repos","events_url":"https://api.github.com/users/oysteinmoseng/events{/privacy}","received_events_url":"https://api.github.com/users/oysteinmoseng/received_events","type":"User","site_admin":false},"body":"### Added:\r\n- `pattern-fill.js` module that allows setting `color: { pattern: { ... } }` for colors on series and points.\r\n- Nested `series.keys` in Highcharts core that allows setting nested point properties in data arrays, e.g. `keys: ['x', 'value', 'name', 'dataLabels.style.visibility', 'color.pattern.image']`.\r\n\r\nThere are unit tests and a demo for each, as well as API docs. We should probably update the docs on our website regarding the pattern fills once it is merged in/released.\r\n\r\n### Demos:\r\n- Nested keys: `samples/highcharts/series/data-nested-keys`\r\n- Pattern fills: `samples/maps/demo/pattern-fill-map`\r\n\r\n### Pattern fill features:\r\n- Set patterns on color, analogous to linear/radial gradients today.\r\n- Per point patterns can be set, and will inherit properties from patterns set on series. This means you can set e.g. a global color for the series patterns, while defining the other properties per point.\r\n- Pattern types supported are `path` and `image`. `path` patterns support all standard SVG path properties.\r\n- 10 default `path` patterns are added (same as in old pattern fill plugin).\r\n- Pattern `color` (for paths) and `opacity` (for both types) are supported, as in the old plugin.\r\n- Patterns can now be offset by `x`/`y` - particularly useful for images.\r\n- Explicit `width`/`height` can be set for both pattern types.\r\n- If an image pattern is set on a point, and `width`/`height` are not set, `width`/`height` will be automatically set to the point bounding box size. If an `aspectRatio` option is given, this ratio will be honored, and the pattern centered within the bounding box.\r\n- An explicit `id` can be provided for the pattern elements, to promote reuse of configurations, but the module will compute its own ID for the pattern automatically, and reuse DOM elements for identical configurations.","created_at":"2018-03-09T14:28:01Z","updated_at":"2018-03-09T14:28:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":56035,"url":"https://api.github.com/repos/highcharts/highcharts/labels/Enhancement","name":"Enhancement","color":"1808fa","default":false}],"milestone":{"url":"https://api.github.com/repos/highcharts/highcharts/milestones/33","html_url":"https://github.com/highcharts/highcharts/milestone/33","labels_url":"https://api.github.com/repos/highcharts/highcharts/milestones/33/labels","id":2806145,"number":33,"title":"v6.1.0","description":"","creator":{"login":"TorsteinHonsi","id":227836,"avatar_url":"https://avatars0.githubusercontent.com/u/227836?v=4","gravatar_id":"","url":"https://api.github.com/users/TorsteinHonsi","html_url":"https://github.com/TorsteinHonsi","followers_url":"https://api.github.com/users/TorsteinHonsi/followers","following_url":"https://api.github.com/users/TorsteinHonsi/following{/other_user}","gists_url":"https://api.github.com/users/TorsteinHonsi/gists{/gist_id}","starred_url":"https://api.github.com/users/TorsteinHonsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TorsteinHonsi/subscriptions","organizations_url":"https://api.github.com/users/TorsteinHonsi/orgs","repos_url":"https://api.github.com/users/TorsteinHonsi/repos","events_url":"https://api.github.com/users/TorsteinHonsi/events{/privacy}","received_events_url":"https://api.github.com/users/TorsteinHonsi/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2017-10-02T07:42:30Z","updated_at":"2018-03-09T14:28:01Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/highcharts/highcharts/pulls/7981/commits","review_comments_url":"https://api.github.com/repos/highcharts/highcharts/pulls/7981/comments","review_comment_url":"https://api.github.com/repos/highcharts/highcharts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/highcharts/highcharts/issues/7981/comments","statuses_url":"https://api.github.com/repos/highcharts/highcharts/statuses/e30f45a055fdbb0a440a8f28671935a9206e17c2","head":{"label":"highcharts:feature/pattern-fill","ref":"feature/pattern-fill","sha":"e30f45a055fdbb0a440a8f28671935a9206e17c2","user":{"login":"highcharts","id":15981345,"avatar_url":"https://avatars2.githubusercontent.com/u/15981345?v=4","gravatar_id":"","url":"https://api.github.com/users/highcharts","html_url":"https://github.com/highcharts","followers_url":"https://api.github.com/users/highcharts/followers","following_url":"https://api.github.com/users/highcharts/following{/other_user}","gists_url":"https://api.github.com/users/highcharts/gists{/gist_id}","starred_url":"https://api.github.com/users/highcharts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highcharts/subscriptions","organizations_url":"https://api.github.com/users/highcharts/orgs","repos_url":"https://api.github.com/users/highcharts/repos","events_url":"https://api.github.com/users/highcharts/events{/privacy}","received_events_url":"https://api.github.com/users/highcharts/received_events","type":"Organization","site_admin":false},"repo":{"id":715547,"name":"highcharts","full_name":"highcharts/highcharts","owner":{"login":"highcharts","id":15981345,"avatar_url":"https://avatars2.githubusercontent.com/u/15981345?v=4","gravatar_id":"","url":"https://api.github.com/users/highcharts","html_url":"https://github.com/highcharts","followers_url":"https://api.github.com/users/highcharts/followers","following_url":"https://api.github.com/users/highcharts/following{/other_user}","gists_url":"https://api.github.com/users/highcharts/gists{/gist_id}","starred_url":"https://api.github.com/users/highcharts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highcharts/subscriptions","organizations_url":"https://api.github.com/users/highcharts/orgs","repos_url":"https://api.github.com/users/highcharts/repos","events_url":"https://api.github.com/users/highcharts/events{/privacy}","received_events_url":"https://api.github.com/users/highcharts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/highcharts/highcharts","description":"Highcharts JS, the JavaScript charting framework","fork":false,"url":"https://api.github.com/repos/highcharts/highcharts","forks_url":"https://api.github.com/repos/highcharts/highcharts/forks","keys_url":"https://api.github.com/repos/highcharts/highcharts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/highcharts/highcharts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/highcharts/highcharts/teams","hooks_url":"https://api.github.com/repos/highcharts/highcharts/hooks","issue_events_url":"https://api.github.com/repos/highcharts/highcharts/issues/events{/number}","events_url":"https://api.github.com/repos/highcharts/highcharts/events","assignees_url":"https://api.github.com/repos/highcharts/highcharts/assignees{/user}","branches_url":"https://api.github.com/repos/highcharts/highcharts/branches{/branch}","tags_url":"https://api.github.com/repos/highcharts/highcharts/tags","blobs_url":"https://api.github.com/repos/highcharts/highcharts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/highcharts/highcharts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/highcharts/highcharts/git/refs{/sha}","trees_url":"https://api.github.com/repos/highcharts/highcharts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/highcharts/highcharts/statuses/{sha}","languages_url":"https://api.github.com/repos/highcharts/highcharts/languages","stargazers_url":"https://api.github.com/repos/highcharts/highcharts/stargazers","contributors_url":"https://api.github.com/repos/highcharts/highcharts/contributors","subscribers_url":"https://api.github.com/repos/highcharts/highcharts/subscribers","subscription_url":"https://api.github.com/repos/highcharts/highcharts/subscription","commits_url":"https://api.github.com/repos/highcharts/highcharts/commits{/sha}","git_commits_url":"https://api.github.com/repos/highcharts/highcharts/git/commits{/sha}","comments_url":"https://api.github.com/repos/highcharts/highcharts/comments{/number}","issue_comment_url":"https://api.github.com/repos/highcharts/highcharts/issues/comments{/number}","contents_url":"https://api.github.com/repos/highcharts/highcharts/contents/{+path}","compare_url":"https://api.github.com/repos/highcharts/highcharts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/highcharts/highcharts/merges","archive_url":"https://api.github.com/repos/highcharts/highcharts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/highcharts/highcharts/downloads","issues_url":"https://api.github.com/repos/highcharts/highcharts/issues{/number}","pulls_url":"https://api.github.com/repos/highcharts/highcharts/pulls{/number}","milestones_url":"https://api.github.com/repos/highcharts/highcharts/milestones{/number}","notifications_url":"https://api.github.com/repos/highcharts/highcharts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/highcharts/highcharts/labels{/name}","releases_url":"https://api.github.com/repos/highcharts/highcharts/releases{/id}","deployments_url":"https://api.github.com/repos/highcharts/highcharts/deployments","created_at":"2010-06-11T12:23:53Z","updated_at":"2018-03-09T09:23:23Z","pushed_at":"2018-03-09T14:12:42Z","git_url":"git://github.com/highcharts/highcharts.git","ssh_url":"git@github.com:highcharts/highcharts.git","clone_url":"https://github.com/highcharts/highcharts.git","svn_url":"https://github.com/highcharts/highcharts","homepage":"www.highcharts.com","size":187702,"stargazers_count":7405,"watchers_count":7405,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2158,"mirror_url":null,"archived":false,"open_issues_count":1521,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2158,"open_issues":1521,"watchers":7405,"default_branch":"master"}},"base":{"label":"highcharts:master","ref":"master","sha":"5182f43d200cfdf49e00d253028fbaf2ebe15598","user":{"login":"highcharts","id":15981345,"avatar_url":"https://avatars2.githubusercontent.com/u/15981345?v=4","gravatar_id":"","url":"https://api.github.com/users/highcharts","html_url":"https://github.com/highcharts","followers_url":"https://api.github.com/users/highcharts/followers","following_url":"https://api.github.com/users/highcharts/following{/other_user}","gists_url":"https://api.github.com/users/highcharts/gists{/gist_id}","starred_url":"https://api.github.com/users/highcharts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highcharts/subscriptions","organizations_url":"https://api.github.com/users/highcharts/orgs","repos_url":"https://api.github.com/users/highcharts/repos","events_url":"https://api.github.com/users/highcharts/events{/privacy}","received_events_url":"https://api.github.com/users/highcharts/received_events","type":"Organization","site_admin":false},"repo":{"id":715547,"name":"highcharts","full_name":"highcharts/highcharts","owner":{"login":"highcharts","id":15981345,"avatar_url":"https://avatars2.githubusercontent.com/u/15981345?v=4","gravatar_id":"","url":"https://api.github.com/users/highcharts","html_url":"https://github.com/highcharts","followers_url":"https://api.github.com/users/highcharts/followers","following_url":"https://api.github.com/users/highcharts/following{/other_user}","gists_url":"https://api.github.com/users/highcharts/gists{/gist_id}","starred_url":"https://api.github.com/users/highcharts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highcharts/subscriptions","organizations_url":"https://api.github.com/users/highcharts/orgs","repos_url":"https://api.github.com/users/highcharts/repos","events_url":"https://api.github.com/users/highcharts/events{/privacy}","received_events_url":"https://api.github.com/users/highcharts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/highcharts/highcharts","description":"Highcharts JS, the JavaScript charting framework","fork":false,"url":"https://api.github.com/repos/highcharts/highcharts","forks_url":"https://api.github.com/repos/highcharts/highcharts/forks","keys_url":"https://api.github.com/repos/highcharts/highcharts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/highcharts/highcharts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/highcharts/highcharts/teams","hooks_url":"https://api.github.com/repos/highcharts/highcharts/hooks","issue_events_url":"https://api.github.com/repos/highcharts/highcharts/issues/events{/number}","events_url":"https://api.github.com/repos/highcharts/highcharts/events","assignees_url":"https://api.github.com/repos/highcharts/highcharts/assignees{/user}","branches_url":"https://api.github.com/repos/highcharts/highcharts/branches{/branch}","tags_url":"https://api.github.com/repos/highcharts/highcharts/tags","blobs_url":"https://api.github.com/repos/highcharts/highcharts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/highcharts/highcharts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/highcharts/highcharts/git/refs{/sha}","trees_url":"https://api.github.com/repos/highcharts/highcharts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/highcharts/highcharts/statuses/{sha}","languages_url":"https://api.github.com/repos/highcharts/highcharts/languages","stargazers_url":"https://api.github.com/repos/highcharts/highcharts/stargazers","contributors_url":"https://api.github.com/repos/highcharts/highcharts/contributors","subscribers_url":"https://api.github.com/repos/highcharts/highcharts/subscribers","subscription_url":"https://api.github.com/repos/highcharts/highcharts/subscription","commits_url":"https://api.github.com/repos/highcharts/highcharts/commits{/sha}","git_commits_url":"https://api.github.com/repos/highcharts/highcharts/git/commits{/sha}","comments_url":"https://api.github.com/repos/highcharts/highcharts/comments{/number}","issue_comment_url":"https://api.github.com/repos/highcharts/highcharts/issues/comments{/number}","contents_url":"https://api.github.com/repos/highcharts/highcharts/contents/{+path}","compare_url":"https://api.github.com/repos/highcharts/highcharts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/highcharts/highcharts/merges","archive_url":"https://api.github.com/repos/highcharts/highcharts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/highcharts/highcharts/downloads","issues_url":"https://api.github.com/repos/highcharts/highcharts/issues{/number}","pulls_url":"https://api.github.com/repos/highcharts/highcharts/pulls{/number}","milestones_url":"https://api.github.com/repos/highcharts/highcharts/milestones{/number}","notifications_url":"https://api.github.com/repos/highcharts/highcharts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/highcharts/highcharts/labels{/name}","releases_url":"https://api.github.com/repos/highcharts/highcharts/releases{/id}","deployments_url":"https://api.github.com/repos/highcharts/highcharts/deployments","created_at":"2010-06-11T12:23:53Z","updated_at":"2018-03-09T09:23:23Z","pushed_at":"2018-03-09T14:12:42Z","git_url":"git://github.com/highcharts/highcharts.git","ssh_url":"git@github.com:highcharts/highcharts.git","clone_url":"https://github.com/highcharts/highcharts.git","svn_url":"https://github.com/highcharts/highcharts","homepage":"www.highcharts.com","size":187702,"stargazers_count":7405,"watchers_count":7405,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2158,"mirror_url":null,"archived":false,"open_issues_count":1521,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2158,"open_issues":1521,"watchers":7405,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/7981"},"html":{"href":"https://github.com/highcharts/highcharts/pull/7981"},"issue":{"href":"https://api.github.com/repos/highcharts/highcharts/issues/7981"},"comments":{"href":"https://api.github.com/repos/highcharts/highcharts/issues/7981/comments"},"review_comments":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/7981/comments"},"review_comment":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/7981/commits"},"statuses":{"href":"https://api.github.com/repos/highcharts/highcharts/statuses/e30f45a055fdbb0a440a8f28671935a9206e17c2"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":1632,"deletions":100,"changed_files":22}}
{"actor":{"display_login":"oysteinmoseng"}}