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

treemap 属性emphasis.label.formatter不生效 #11772

Closed
haojay5 opened this issue Dec 3, 2019 · 1 comment
Closed

treemap 属性emphasis.label.formatter不生效 #11772

haojay5 opened this issue Dec 3, 2019 · 1 comment
Assignees
Labels

Comments

@haojay5
Copy link

haojay5 commented Dec 3, 2019

Version

4.5.0

Steps to reproduce

 emphasis: {
            itemStyle: {
                color: 'red'
            },
            label: {
                show: true,
                color: 'black', //'rgba(255,255,255,1)'
                formatter: function(params) {
                    return 'test'; //params.name   '\n{hr|}';
                },
                rich: {
                    hr: {
                        borderColor: 'rgba(255,255,255,1)',
                        width: '100%',
                        borderWidth: 1,
                        height: 0
                    }
                }
            }
        },

What is expected?

激活的文字应该按格式化的结果显示

What is actually happening?

事实是文字颜色可以变化,格式化不生效

@echarts-bot
Copy link

echarts-bot bot commented Dec 3, 2019

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical questions.

If you are interested in the project, you may also subscribe our mail list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Dec 3, 2019
@yufeng04 yufeng04 removed pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Dec 3, 2019
@susiwen8 susiwen8 self-assigned this Dec 15, 2019
pull bot pushed a commit to ws1993/incubator-echarts that referenced this issue Apr 21, 2020
Add missing param for treemap setLabelStyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants