{"action":"opened","number":7894,"pull_request":{"url":"https://api.github.com/repos/ecomfe/echarts/pulls/7894","id":173653753,"html_url":"https://github.com/ecomfe/echarts/pull/7894","diff_url":"https://github.com/ecomfe/echarts/pull/7894.diff","patch_url":"https://github.com/ecomfe/echarts/pull/7894.patch","issue_url":"https://api.github.com/repos/ecomfe/echarts/issues/7894","number":7894,"state":"open","locked":false,"title":"Add new markline type `median`","user":{"login":"hustcc","id":7856674,"avatar_url":"https://avatars2.githubusercontent.com/u/7856674?v=4","gravatar_id":"","url":"https://api.github.com/users/hustcc","html_url":"https://github.com/hustcc","followers_url":"https://api.github.com/users/hustcc/followers","following_url":"https://api.github.com/users/hustcc/following{/other_user}","gists_url":"https://api.github.com/users/hustcc/gists{/gist_id}","starred_url":"https://api.github.com/users/hustcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hustcc/subscriptions","organizations_url":"https://api.github.com/users/hustcc/orgs","repos_url":"https://api.github.com/users/hustcc/repos","events_url":"https://api.github.com/users/hustcc/events{/privacy}","received_events_url":"https://api.github.com/users/hustcc/received_events","type":"User","site_admin":false},"body":"There are only 3 [markLine types](http://echarts.baidu.com/option.html#series-scatter.markLine.data.0.type):\r\n\r\n - max\r\n - min\r\n - average\r\n - ~median~\r\n\r\nBut there is another important type in data analysis, called median.\r\n\r\nIt can also be achieved by customize markLine option after calculate the median locally. But I think `median` should be a build-in markLine type for echarts.\r\n\r\n----\r\n\r\nChangeLog:\r\n\r\n1. add `median` markLine supported.\r\n2. add the demo of markLine in scatter named `scatter-markline.html`.\r\n3. update .gitignore.\r\n\r\n\r\n\r\n","created_at":"2018-03-08T06:12:11Z","updated_at":"2018-03-08T06:12:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ecomfe/echarts/pulls/7894/commits","review_comments_url":"https://api.github.com/repos/ecomfe/echarts/pulls/7894/comments","review_comment_url":"https://api.github.com/repos/ecomfe/echarts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ecomfe/echarts/issues/7894/comments","statuses_url":"https://api.github.com/repos/ecomfe/echarts/statuses/8ff4c1d3bf532a8fe7847b783e4d44f1a945faa8","head":{"label":"ForkRepo:master","ref":"master","sha":"8ff4c1d3bf532a8fe7847b783e4d44f1a945faa8","user":{"login":"ForkRepo","id":16618100,"avatar_url":"https://avatars1.githubusercontent.com/u/16618100?v=4","gravatar_id":"","url":"https://api.github.com/users/ForkRepo","html_url":"https://github.com/ForkRepo","followers_url":"https://api.github.com/users/ForkRepo/followers","following_url":"https://api.github.com/users/ForkRepo/following{/other_user}","gists_url":"https://api.github.com/users/ForkRepo/gists{/gist_id}","starred_url":"https://api.github.com/users/ForkRepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForkRepo/subscriptions","organizations_url":"https://api.github.com/users/ForkRepo/orgs","repos_url":"https://api.github.com/users/ForkRepo/repos","events_url":"https://api.github.com/users/ForkRepo/events{/privacy}","received_events_url":"https://api.github.com/users/ForkRepo/received_events","type":"Organization","site_admin":false},"repo":{"id":124338520,"name":"echarts","full_name":"ForkRepo/echarts","owner":{"login":"ForkRepo","id":16618100,"avatar_url":"https://avatars1.githubusercontent.com/u/16618100?v=4","gravatar_id":"","url":"https://api.github.com/users/ForkRepo","html_url":"https://github.com/ForkRepo","followers_url":"https://api.github.com/users/ForkRepo/followers","following_url":"https://api.github.com/users/ForkRepo/following{/other_user}","gists_url":"https://api.github.com/users/ForkRepo/gists{/gist_id}","starred_url":"https://api.github.com/users/ForkRepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForkRepo/subscriptions","organizations_url":"https://api.github.com/users/ForkRepo/orgs","repos_url":"https://api.github.com/users/ForkRepo/repos","events_url":"https://api.github.com/users/ForkRepo/events{/privacy}","received_events_url":"https://api.github.com/users/ForkRepo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ForkRepo/echarts","description":"A powerful, interactive charting and visualization library for browser","fork":true,"url":"https://api.github.com/repos/ForkRepo/echarts","forks_url":"https://api.github.com/repos/ForkRepo/echarts/forks","keys_url":"https://api.github.com/repos/ForkRepo/echarts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ForkRepo/echarts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ForkRepo/echarts/teams","hooks_url":"https://api.github.com/repos/ForkRepo/echarts/hooks","issue_events_url":"https://api.github.com/repos/ForkRepo/echarts/issues/events{/number}","events_url":"https://api.github.com/repos/ForkRepo/echarts/events","assignees_url":"https://api.github.com/repos/ForkRepo/echarts/assignees{/user}","branches_url":"https://api.github.com/repos/ForkRepo/echarts/branches{/branch}","tags_url":"https://api.github.com/repos/ForkRepo/echarts/tags","blobs_url":"https://api.github.com/repos/ForkRepo/echarts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ForkRepo/echarts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ForkRepo/echarts/git/refs{/sha}","trees_url":"https://api.github.com/repos/ForkRepo/echarts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ForkRepo/echarts/statuses/{sha}","languages_url":"https://api.github.com/repos/ForkRepo/echarts/languages","stargazers_url":"https://api.github.com/repos/ForkRepo/echarts/stargazers","contributors_url":"https://api.github.com/repos/ForkRepo/echarts/contributors","subscribers_url":"https://api.github.com/repos/ForkRepo/echarts/subscribers","subscription_url":"https://api.github.com/repos/ForkRepo/echarts/subscription","commits_url":"https://api.github.com/repos/ForkRepo/echarts/commits{/sha}","git_commits_url":"https://api.github.com/repos/ForkRepo/echarts/git/commits{/sha}","comments_url":"https://api.github.com/repos/ForkRepo/echarts/comments{/number}","issue_comment_url":"https://api.github.com/repos/ForkRepo/echarts/issues/comments{/number}","contents_url":"https://api.github.com/repos/ForkRepo/echarts/contents/{+path}","compare_url":"https://api.github.com/repos/ForkRepo/echarts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ForkRepo/echarts/merges","archive_url":"https://api.github.com/repos/ForkRepo/echarts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ForkRepo/echarts/downloads","issues_url":"https://api.github.com/repos/ForkRepo/echarts/issues{/number}","pulls_url":"https://api.github.com/repos/ForkRepo/echarts/pulls{/number}","milestones_url":"https://api.github.com/repos/ForkRepo/echarts/milestones{/number}","notifications_url":"https://api.github.com/repos/ForkRepo/echarts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ForkRepo/echarts/labels{/name}","releases_url":"https://api.github.com/repos/ForkRepo/echarts/releases{/id}","deployments_url":"https://api.github.com/repos/ForkRepo/echarts/deployments","created_at":"2018-03-08T04:51:40Z","updated_at":"2018-03-08T04:51:46Z","pushed_at":"2018-03-08T05:59:50Z","git_url":"git://github.com/ForkRepo/echarts.git","ssh_url":"git@github.com:ForkRepo/echarts.git","clone_url":"https://github.com/ForkRepo/echarts.git","svn_url":"https://github.com/ForkRepo/echarts","homepage":"http://echarts.baidu.com/","size":141836,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ecomfe:master","ref":"master","sha":"aeb5a5b5748ae4d41109e2ed17ad110c4ec031b1","user":{"login":"ecomfe","id":2268460,"avatar_url":"https://avatars2.githubusercontent.com/u/2268460?v=4","gravatar_id":"","url":"https://api.github.com/users/ecomfe","html_url":"https://github.com/ecomfe","followers_url":"https://api.github.com/users/ecomfe/followers","following_url":"https://api.github.com/users/ecomfe/following{/other_user}","gists_url":"https://api.github.com/users/ecomfe/gists{/gist_id}","starred_url":"https://api.github.com/users/ecomfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecomfe/subscriptions","organizations_url":"https://api.github.com/users/ecomfe/orgs","repos_url":"https://api.github.com/users/ecomfe/repos","events_url":"https://api.github.com/users/ecomfe/events{/privacy}","received_events_url":"https://api.github.com/users/ecomfe/received_events","type":"Organization","site_admin":false},"repo":{"id":9185792,"name":"echarts","full_name":"ecomfe/echarts","owner":{"login":"ecomfe","id":2268460,"avatar_url":"https://avatars2.githubusercontent.com/u/2268460?v=4","gravatar_id":"","url":"https://api.github.com/users/ecomfe","html_url":"https://github.com/ecomfe","followers_url":"https://api.github.com/users/ecomfe/followers","following_url":"https://api.github.com/users/ecomfe/following{/other_user}","gists_url":"https://api.github.com/users/ecomfe/gists{/gist_id}","starred_url":"https://api.github.com/users/ecomfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecomfe/subscriptions","organizations_url":"https://api.github.com/users/ecomfe/orgs","repos_url":"https://api.github.com/users/ecomfe/repos","events_url":"https://api.github.com/users/ecomfe/events{/privacy}","received_events_url":"https://api.github.com/users/ecomfe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ecomfe/echarts","description":"A powerful, interactive charting and visualization library for browser","fork":false,"url":"https://api.github.com/repos/ecomfe/echarts","forks_url":"https://api.github.com/repos/ecomfe/echarts/forks","keys_url":"https://api.github.com/repos/ecomfe/echarts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecomfe/echarts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecomfe/echarts/teams","hooks_url":"https://api.github.com/repos/ecomfe/echarts/hooks","issue_events_url":"https://api.github.com/repos/ecomfe/echarts/issues/events{/number}","events_url":"https://api.github.com/repos/ecomfe/echarts/events","assignees_url":"https://api.github.com/repos/ecomfe/echarts/assignees{/user}","branches_url":"https://api.github.com/repos/ecomfe/echarts/branches{/branch}","tags_url":"https://api.github.com/repos/ecomfe/echarts/tags","blobs_url":"https://api.github.com/repos/ecomfe/echarts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecomfe/echarts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecomfe/echarts/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecomfe/echarts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecomfe/echarts/statuses/{sha}","languages_url":"https://api.github.com/repos/ecomfe/echarts/languages","stargazers_url":"https://api.github.com/repos/ecomfe/echarts/stargazers","contributors_url":"https://api.github.com/repos/ecomfe/echarts/contributors","subscribers_url":"https://api.github.com/repos/ecomfe/echarts/subscribers","subscription_url":"https://api.github.com/repos/ecomfe/echarts/subscription","commits_url":"https://api.github.com/repos/ecomfe/echarts/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecomfe/echarts/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecomfe/echarts/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecomfe/echarts/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecomfe/echarts/contents/{+path}","compare_url":"https://api.github.com/repos/ecomfe/echarts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecomfe/echarts/merges","archive_url":"https://api.github.com/repos/ecomfe/echarts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecomfe/echarts/downloads","issues_url":"https://api.github.com/repos/ecomfe/echarts/issues{/number}","pulls_url":"https://api.github.com/repos/ecomfe/echarts/pulls{/number}","milestones_url":"https://api.github.com/repos/ecomfe/echarts/milestones{/number}","notifications_url":"https://api.github.com/repos/ecomfe/echarts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecomfe/echarts/labels{/name}","releases_url":"https://api.github.com/repos/ecomfe/echarts/releases{/id}","deployments_url":"https://api.github.com/repos/ecomfe/echarts/deployments","created_at":"2013-04-03T03:18:59Z","updated_at":"2018-03-08T06:10:41Z","pushed_at":"2018-03-07T11:04:08Z","git_url":"git://github.com/ecomfe/echarts.git","ssh_url":"git@github.com:ecomfe/echarts.git","clone_url":"https://github.com/ecomfe/echarts.git","svn_url":"https://github.com/ecomfe/echarts","homepage":"http://echarts.baidu.com/","size":141836,"stargazers_count":25776,"watchers_count":25776,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7363,"mirror_url":null,"archived":false,"open_issues_count":2202,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":7363,"open_issues":2202,"watchers":25776,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ecomfe/echarts/pulls/7894"},"html":{"href":"https://github.com/ecomfe/echarts/pull/7894"},"issue":{"href":"https://api.github.com/repos/ecomfe/echarts/issues/7894"},"comments":{"href":"https://api.github.com/repos/ecomfe/echarts/issues/7894/comments"},"review_comments":{"href":"https://api.github.com/repos/ecomfe/echarts/pulls/7894/comments"},"review_comment":{"href":"https://api.github.com/repos/ecomfe/echarts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ecomfe/echarts/pulls/7894/commits"},"statuses":{"href":"https://api.github.com/repos/ecomfe/echarts/statuses/8ff4c1d3bf532a8fe7847b783e4d44f1a945faa8"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":418,"deletions":731,"changed_files":7}}
{"actor":{"display_login":"hustcc"}}