Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

做饼图展示,饼图默认只展示value为0的那个数据项 #3128

Closed
yuzl919 opened this issue May 3, 2016 · 4 comments
Closed

做饼图展示,饼图默认只展示value为0的那个数据项 #3128

yuzl919 opened this issue May 3, 2016 · 4 comments
Labels

Comments

@yuzl919
Copy link

yuzl919 commented May 3, 2016

问题简述 (One-line summary)

做饼图展示,当有数据项为0时,饼图默认只展示value为0的那个数据项,当鼠标移过的时候,才会显示value不为0的数据项,只有把value为0的数据项排在最前,才会正常展示。另外,直接把官网的实例搬到工程里面去也会出现这样的情况,不知道应该如何解决?

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version):ECharts3.1.7
  • 浏览器类型和版本 (Browser version):IE8
  • 操作系统类型和版本 (OS Version):WIN7

重现步骤 (Steps to reproduce)

期望结果 (Expected behaviour)

可能哪里有问题 (What went wrong)

ECharts配置项 (ECharts option)

option = {
tooltip : {
            trigger:'item',
            formatter:"{a}<br>{b}:{c}条({d}%)"
        },
        legend : {
            orient:'vertical',
            x:'left',
            data : [ '待许可','待终结','已终结']
        },
        series : [
            {
                name : '抢修单情况',
                type : 'pie',
                data :[{"name":"待许可","value":"1"},{"name":"已终结","value":"2"},{"name":"待终结","value":"0"}]
            }
        ]
}

其他信息 (Other comments)

1

@pissang pissang added the pending We are not sure about whether this is a bug/new feature. label May 3, 2016
@yuzl919
Copy link
Author

yuzl919 commented May 4, 2016

圆环也会出现这个问题,能否尽快回复,项目急等

@pissang pissang added bug and removed pending We are not sure about whether this is a bug/new feature. labels May 4, 2016
@pissang
Copy link
Contributor

pissang commented May 7, 2016

已提交修复,下周新版本不会再存在这个问题

@pissang pissang closed this as completed May 7, 2016
@yuzl919
Copy link
Author

yuzl919 commented May 9, 2016

新版本什么时候提供下载更新?

@atlas1119
Copy link

ie8 下这个问题还有啊,

  • [ ]
    57a91ebf46a93df2d11f24bf13f6c4c2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants