{"action":"created","issue":{"url":"https://api.github.com/repos/ecomfe/echarts/issues/4244","repository_url":"https://api.github.com/repos/ecomfe/echarts","labels_url":"https://api.github.com/repos/ecomfe/echarts/issues/4244/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/echarts/issues/4244/comments","events_url":"https://api.github.com/repos/ecomfe/echarts/issues/4244/events","html_url":"https://github.com/ecomfe/echarts/issues/4244","id":182706667,"number":4244,"title":"legend[data]为数组时报错","user":{"login":"Shellbye","id":5805696,"avatar_url":"https://avatars.githubusercontent.com/u/5805696?v=3","gravatar_id":"","url":"https://api.github.com/users/Shellbye","html_url":"https://github.com/Shellbye","followers_url":"https://api.github.com/users/Shellbye/followers","following_url":"https://api.github.com/users/Shellbye/following{/other_user}","gists_url":"https://api.github.com/users/Shellbye/gists{/gist_id}","starred_url":"https://api.github.com/users/Shellbye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shellbye/subscriptions","organizations_url":"https://api.github.com/users/Shellbye/orgs","repos_url":"https://api.github.com/users/Shellbye/repos","events_url":"https://api.github.com/users/Shellbye/events{/privacy}","received_events_url":"https://api.github.com/users/Shellbye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-13T06:33:17Z","updated_at":"2016-10-17T03:25:43Z","closed_at":null,"body":"<!--\r\n为了方便我们能够复现和修复 bug，请遵从下面的规范描述您的问题。\r\n-->\r\n#### 问题简述 (One-line summary)\r\n我的legend里面的data是一个数组[20,50,100,........]，执行时报错：\r\n`20 series not exists. Legend data should be same with series name or data name.`\r\n\r\n#### 版本及环境 (Version & Environment)\r\n+ ECharts 版本 (ECharts version):\r\n+ 浏览器类型和版本 (Browser version):\r\n+ 操作系统类型和版本 (OS Version):\r\n\r\n\r\n#### 重现步骤 (Steps to reproduce)\r\n1.\r\n2.\r\n\r\n\r\n#### 期望结果 (Expected behaviour)\r\n\r\n\r\n\r\n#### 可能哪里有问题 (What went wrong)\r\n将数字全部转化为字符串就可以了\r\n\r\n\r\n#### ECharts配置项 (ECharts option)\r\n<!-- 下方贴你的option，注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。\r\n最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing\r\n-->\r\n```javascript\r\noption = {\r\n\r\n}\r\n\r\n```\r\n\r\n\r\n#### 其他信息 (Other comments)\r\n<!-- 例如，截图或线上实例 (JSFiddle/JSBin/Codepen) (For example: Screenshot or Online demo) -->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ecomfe/echarts/issues/comments/254104479","html_url":"https://github.com/ecomfe/echarts/issues/4244#issuecomment-254104479","issue_url":"https://api.github.com/repos/ecomfe/echarts/issues/4244","id":254104479,"user":{"login":"pissang","id":841551,"avatar_url":"https://avatars.githubusercontent.com/u/841551?v=3","gravatar_id":"","url":"https://api.github.com/users/pissang","html_url":"https://github.com/pissang","followers_url":"https://api.github.com/users/pissang/followers","following_url":"https://api.github.com/users/pissang/following{/other_user}","gists_url":"https://api.github.com/users/pissang/gists{/gist_id}","starred_url":"https://api.github.com/users/pissang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pissang/subscriptions","organizations_url":"https://api.github.com/users/pissang/orgs","repos_url":"https://api.github.com/users/pissang/repos","events_url":"https://api.github.com/users/pissang/events{/privacy}","received_events_url":"https://api.github.com/users/pissang/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T03:25:43Z","updated_at":"2016-10-17T03:25:43Z","body":"确实，其实我们是一直想要做一个整个 option 的 validator 的，但是因为优先级比较低所以暂时还没做"}}
{"actor":{"display_login":"pissang"}}