{"action":"created","issue":{"url":"https://api.github.com/repos/antvis/g2/issues/1000","repository_url":"https://api.github.com/repos/antvis/g2","labels_url":"https://api.github.com/repos/antvis/g2/issues/1000/labels{/name}","comments_url":"https://api.github.com/repos/antvis/g2/issues/1000/comments","events_url":"https://api.github.com/repos/antvis/g2/issues/1000/events","html_url":"https://github.com/antvis/g2/issues/1000","id":376703393,"node_id":"MDU6SXNzdWUzNzY3MDMzOTM=","number":1000,"title":"建议把legend.items.checked的这个属性加入文档","user":{"login":"redclown","id":11514145,"node_id":"MDQ6VXNlcjExNTE0MTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/11514145?v=4","gravatar_id":"","url":"https://api.github.com/users/redclown","html_url":"https://github.com/redclown","followers_url":"https://api.github.com/users/redclown/followers","following_url":"https://api.github.com/users/redclown/following{/other_user}","gists_url":"https://api.github.com/users/redclown/gists{/gist_id}","starred_url":"https://api.github.com/users/redclown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redclown/subscriptions","organizations_url":"https://api.github.com/users/redclown/orgs","repos_url":"https://api.github.com/users/redclown/repos","events_url":"https://api.github.com/users/redclown/events{/privacy}","received_events_url":"https://api.github.com/users/redclown/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-02T07:52:07Z","updated_at":"2018-11-02T08:39:24Z","closed_at":null,"author_association":"NONE","body":"通过点击事件实现legend默认选中取消的效果\r\n\r\n1. 试了chart.filter,单一的geom是没问题的，但是多geom的时候（比如一个图中有两条现状图，两个柱状图），filter的时候会把带某一个字段的一整列全部删掉，会影响别的geom的展示\r\n\r\n2.默认的legend多个geom也会有问题，柱状图线状图在一起的时候只会展示其中一种\r\n\r\n3.hide和show，这两个效果差了点，（建议把官网里hide和show换成带动画的），其实legend自带的那种效果比较帅气\r\n\r\n最后试了下legend.items.checked这个属性，居然真的能用，文档没有需要找很长时间，需要掉很多头发~~~"},"comment":{"url":"https://api.github.com/repos/antvis/g2/issues/comments/435308676","html_url":"https://github.com/antvis/g2/issues/1000#issuecomment-435308676","issue_url":"https://api.github.com/repos/antvis/g2/issues/1000","id":435308676,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTMwODY3Ng==","user":{"login":"dxq613","id":1264678,"node_id":"MDQ6VXNlcjEyNjQ2Nzg=","avatar_url":"https://avatars1.githubusercontent.com/u/1264678?v=4","gravatar_id":"","url":"https://api.github.com/users/dxq613","html_url":"https://github.com/dxq613","followers_url":"https://api.github.com/users/dxq613/followers","following_url":"https://api.github.com/users/dxq613/following{/other_user}","gists_url":"https://api.github.com/users/dxq613/gists{/gist_id}","starred_url":"https://api.github.com/users/dxq613/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dxq613/subscriptions","organizations_url":"https://api.github.com/users/dxq613/orgs","repos_url":"https://api.github.com/users/dxq613/repos","events_url":"https://api.github.com/users/dxq613/events{/privacy}","received_events_url":"https://api.github.com/users/dxq613/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T08:39:24Z","updated_at":"2018-11-02T08:39:24Z","author_association":"MEMBER","body":"应该要开放个 checkable 选项吧"}}
{"actor":{"display_login":"dxq613"}}