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

漏斗图tooltip没有百分比 #4347

Open
YuanYifei opened this Issue Oct 28, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@YuanYifei
Contributor

YuanYifei commented Oct 28, 2016

问题简述 (One-line summary)

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version):3.2.3
  • 浏览器类型和版本 (Browser version):ALL
  • 操作系统类型和版本 (OS Version):ALL

重现步骤 (Steps to reproduce)

1.运行option
2.查看tooltip,百分比显示为{d}

期望结果 (Expected behaviour)

显示百分比值

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

已修改提交了pull request #4332

ECharts配置项 (ECharts option)

option = {
    "legend" : {
        "data" : ["进入", "提交"]
    },
    "tooltip" : {
        "trigger" : "item",
        "formatter" : "{a} <br/>{b} : {c}{d}"
    },
    "toolbox" : false,
    "series" : [{
            "name" : "2016-08-01",
            "type" : "funnel",
            "left" : "10%",
            "width" : "80%",
            "maxSize" : "100%",
            "label" : {
                "normal" : {
                    "formatter" : "{a}\n{b}\n{d}%",
                    "show" : true,
                    "position" : "inside"
                }
            },
            "data" : [{
                    "name" : "进入",
                    "value" : "6857"
                }, {
                    "name" : "提交",
                    "value" : "4758"
                }
            ]
        }
    ]
}

其他信息 (Other comments)

@iamziyue

This comment has been minimized.

Show comment
Hide comment
@iamziyue

iamziyue Feb 25, 2017

请问这个问题处理好了吗,我在3.4版本里面还是这样啊。

请问这个问题处理好了吗,我在3.4版本里面还是这样啊。

@YuanYifei

This comment has been minimized.

Show comment
Hide comment
@YuanYifei

YuanYifei Feb 28, 2017

Contributor

@iamziyue 可以参考我的pr解决, #4332

Contributor

YuanYifei commented Feb 28, 2017

@iamziyue 可以参考我的pr解决, #4332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment