{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/v-charts/issues/214","repository_url":"https://api.github.com/repos/ElemeFE/v-charts","labels_url":"https://api.github.com/repos/ElemeFE/v-charts/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/v-charts/issues/214/comments","events_url":"https://api.github.com/repos/ElemeFE/v-charts/issues/214/events","html_url":"https://github.com/ElemeFE/v-charts/issues/214","id":305784976,"number":214,"title":"使用v-candle的时候，如果设置了grid会报异常","user":{"login":"zfeidy","id":7935740,"avatar_url":"https://avatars3.githubusercontent.com/u/7935740?v=4","gravatar_id":"","url":"https://api.github.com/users/zfeidy","html_url":"https://github.com/zfeidy","followers_url":"https://api.github.com/users/zfeidy/followers","following_url":"https://api.github.com/users/zfeidy/following{/other_user}","gists_url":"https://api.github.com/users/zfeidy/gists{/gist_id}","starred_url":"https://api.github.com/users/zfeidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfeidy/subscriptions","organizations_url":"https://api.github.com/users/zfeidy/orgs","repos_url":"https://api.github.com/users/zfeidy/repos","events_url":"https://api.github.com/users/zfeidy/events{/privacy}","received_events_url":"https://api.github.com/users/zfeidy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T02:48:35Z","updated_at":"2018-03-16T02:54:28Z","closed_at":null,"author_association":"NONE","body":"当我设置了grid属性后就会报错，去掉就正常了\r\n\r\n[https://jsfiddle.net/mirrorlongdd/tecfxdg9/92/](https://jsfiddle.net/mirrorlongdd/tecfxdg9/92/)\r\n\r\n异常内容：\r\n\r\n> vue.js:597 [Vue warn]: Error in mounted hook: \"TypeError: Cannot read property 'coordinateSystem' of undefined\"\r\n>\r\n> found in\r\n> ---> \\<VeCandle>\r\n> \\<Root>"},"comment":{"url":"https://api.github.com/repos/ElemeFE/v-charts/issues/comments/373588130","html_url":"https://github.com/ElemeFE/v-charts/issues/214#issuecomment-373588130","issue_url":"https://api.github.com/repos/ElemeFE/v-charts/issues/214","id":373588130,"user":{"login":"xiguaxigua","id":9931685,"avatar_url":"https://avatars0.githubusercontent.com/u/9931685?v=4","gravatar_id":"","url":"https://api.github.com/users/xiguaxigua","html_url":"https://github.com/xiguaxigua","followers_url":"https://api.github.com/users/xiguaxigua/followers","following_url":"https://api.github.com/users/xiguaxigua/following{/other_user}","gists_url":"https://api.github.com/users/xiguaxigua/gists{/gist_id}","starred_url":"https://api.github.com/users/xiguaxigua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiguaxigua/subscriptions","organizations_url":"https://api.github.com/users/xiguaxigua/orgs","repos_url":"https://api.github.com/users/xiguaxigua/repos","events_url":"https://api.github.com/users/xiguaxigua/events{/privacy}","received_events_url":"https://api.github.com/users/xiguaxigua/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T02:54:28Z","updated_at":"2018-03-16T02:54:28Z","author_association":"CONTRIBUTOR","body":"candle 的 gird 是一个数组，包含 candle 的 grid 和 bar 的 grid，默认值如下\r\n\r\n![image](https://user-images.githubusercontent.com/9931685/37501220-4ffa6710-2908-11e8-9689-9d4ee1943a15.png)\r\n\r\n如果要修改 grid 的话，也要赋值为一个包含两个对象的数组才能生效。"}}
{"actor":{"display_login":"xiguaxigua"}}