{"action":"closed","issue":{"url":"https://api.github.com/repos/ecomfe/echarts/issues/3128","repository_url":"https://api.github.com/repos/ecomfe/echarts","labels_url":"https://api.github.com/repos/ecomfe/echarts/issues/3128/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/echarts/issues/3128/comments","events_url":"https://api.github.com/repos/ecomfe/echarts/issues/3128/events","html_url":"https://github.com/ecomfe/echarts/issues/3128","id":152714550,"number":3128,"title":"做饼图展示，饼图默认只展示value为0的那个数据项","user":{"login":"yuzl919","id":16153932,"avatar_url":"https://avatars.githubusercontent.com/u/16153932?v=3","gravatar_id":"","url":"https://api.github.com/users/yuzl919","html_url":"https://github.com/yuzl919","followers_url":"https://api.github.com/users/yuzl919/followers","following_url":"https://api.github.com/users/yuzl919/following{/other_user}","gists_url":"https://api.github.com/users/yuzl919/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzl919/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzl919/subscriptions","organizations_url":"https://api.github.com/users/yuzl919/orgs","repos_url":"https://api.github.com/users/yuzl919/repos","events_url":"https://api.github.com/users/yuzl919/events{/privacy}","received_events_url":"https://api.github.com/users/yuzl919/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ecomfe/echarts/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-03T07:20:35Z","updated_at":"2016-05-07T03:27:47Z","closed_at":"2016-05-07T03:27:47Z","body":"<!--\r\n为了方便我们能够复现和修复 bug，请遵从下面的规范描述您的问题。\r\n-->\r\n#### 问题简述 (One-line summary)\r\n做饼图展示，当有数据项为0时，饼图默认只展示value为0的那个数据项，当鼠标移过的时候，才会显示value不为0的数据项，只有把value为0的数据项排在最前，才会正常展示。另外，直接把官网的实例搬到工程里面去也会出现这样的情况，不知道应该如何解决？\r\n\r\n\r\n#### 版本及环境 (Version & Environment)\r\n+ ECharts 版本 (ECharts version):ECharts3.1.7\r\n+ 浏览器类型和版本 (Browser version):IE8\r\n+ 操作系统类型和版本 (OS Version):WIN7\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\ntooltip : {\r\n            trigger:'item',\r\n            formatter:\"{a}<br>{b}:{c}条({d}%)\"\r\n        },\r\n        legend : {\r\n            orient:'vertical',\r\n            x:'left',\r\n            data : [ '待许可','待终结','已终结']\r\n        },\r\n        series : [\r\n            {\r\n                name : '抢修单情况',\r\n                type : 'pie',\r\n                data :[{\"name\":\"待许可\",\"value\":\"1\"},{\"name\":\"已终结\",\"value\":\"2\"},{\"name\":\"待终结\",\"value\":\"0\"}]\r\n            }\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![1](https://cloud.githubusercontent.com/assets/16153932/14976888/34288e8e-1142-11e6-8bf8-d92ef31f0540.png)\r\n"}}