{"action":"opened","issue":{"url":"https://api.github.com/repos/ecomfe/echarts/issues/3496","repository_url":"https://api.github.com/repos/ecomfe/echarts","labels_url":"https://api.github.com/repos/ecomfe/echarts/issues/3496/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/echarts/issues/3496/comments","events_url":"https://api.github.com/repos/ecomfe/echarts/issues/3496/events","html_url":"https://github.com/ecomfe/echarts/issues/3496","id":162102634,"number":3496,"title":"多个饼图颜色显示不正常","user":{"login":"nighthun","id":10071831,"avatar_url":"https://avatars.githubusercontent.com/u/10071831?v=3","gravatar_id":"","url":"https://api.github.com/users/nighthun","html_url":"https://github.com/nighthun","followers_url":"https://api.github.com/users/nighthun/followers","following_url":"https://api.github.com/users/nighthun/following{/other_user}","gists_url":"https://api.github.com/users/nighthun/gists{/gist_id}","starred_url":"https://api.github.com/users/nighthun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nighthun/subscriptions","organizations_url":"https://api.github.com/users/nighthun/orgs","repos_url":"https://api.github.com/users/nighthun/repos","events_url":"https://api.github.com/users/nighthun/events{/privacy}","received_events_url":"https://api.github.com/users/nighthun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-24T08:47:35Z","updated_at":"2016-06-24T08:47:35Z","closed_at":null,"body":"<!--\r\n为了方便我们能够复现和修复 bug，请遵从下面的规范描述您的问题。\r\n-->\r\n#### 问题简述 (One-line summary)\r\n如果2个饼图同时显示，则它们的颜色序列是不一样的，正常应该是2个独立的指标，颜色序列从头开始\r\n\r\n\r\n#### 版本及环境 (Version & Environment)\r\n+ ECharts 版本 (ECharts version):3.1.10\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![image](https://cloud.githubusercontent.com/assets/10071831/16332911/2846b750-3a2b-11e6-92a0-38f2da675c7f.png)\r\n\r\n\r\n#### 期望结果 (Expected behaviour)\r\n![image](https://cloud.githubusercontent.com/assets/10071831/16332923/333aa6b2-3a2b-11e6-90fd-abd6bb6fc97a.png)\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\"legend\": {\r\n\t\t\"data\": [\r\n\t\t\t\"点心\",\r\n\t\t\t\"调味品\"\r\n\t\t],\r\n\t\t\"left\": \"center\",\r\n\t\t\"orient\": \"horizontal\",\r\n\t\t\"top\": \"top\"\r\n\t},\r\n\t\"series\": [\r\n\t\t{\r\n\t\t\t\"center\": [\r\n\t\t\t\t\"25%\",\r\n\t\t\t\t\"50%\"\r\n\t\t\t],\r\n\t\t\t\"data\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"name\": \"点心\",\r\n\t\t\t\t\t\"value\": 7927\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"name\": \"调味品\",\r\n\t\t\t\t\t\"value\": 5276\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\t\"name\": \"数量\",\r\n\t\t\t\"radius\": [\r\n\t\t\t\t\"0\",\r\n\t\t\t\t\"50%\"\r\n\t\t\t],\r\n\t\t\t\"type\": \"pie\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"center\": [\r\n\t\t\t\t\"75%\",\r\n\t\t\t\t\"50%\"\r\n\t\t\t],\r\n\t\t\t\"data\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"name\": \"点心\",\r\n\t\t\t\t\t\"value\": 7602\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"name\": \"调味品\",\r\n\t\t\t\t\t\"value\": 4548\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\t\"name\": \"单价\",\r\n\t\t\t\"radius\": [\r\n\t\t\t\t\"0\",\r\n\t\t\t\t\"50%\"\r\n\t\t\t],\r\n\t\t\t\"type\": \"pie\"\r\n\t\t}\r\n\t]\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"}}
{"actor":{"display_login":"nighthun"}}