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

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

Comments

Projects
None yet
3 participants
@yuzl919

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 label May 3, 2016

@yuzl919

This comment has been minimized.

Show comment
Hide comment
@yuzl919

yuzl919 May 4, 2016

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

yuzl919 commented May 4, 2016

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

@pissang pissang added bug and removed pending labels May 4, 2016

@pissang

This comment has been minimized.

Show comment
Hide comment
@pissang

pissang May 7, 2016

Contributor

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

Contributor

pissang commented May 7, 2016

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

@pissang pissang closed this May 7, 2016

@yuzl919

This comment has been minimized.

Show comment
Hide comment
@yuzl919

yuzl919 May 9, 2016

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

yuzl919 commented May 9, 2016

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

@atlas1119

This comment has been minimized.

Show comment
Hide comment
@atlas1119

atlas1119 Apr 1, 2017

ie8 下这个问题还有啊,

  • [ ]
    57a91ebf46a93df2d11f24bf13f6c4c2

ie8 下这个问题还有啊,

  • [ ]
    57a91ebf46a93df2d11f24bf13f6c4c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment