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

Setting fontsize on one label influences other labels' fontsize #9596

Closed
wangyi7099 opened this issue Dec 17, 2018 · 8 comments
Closed

Setting fontsize on one label influences other labels' fontsize #9596

wangyi7099 opened this issue Dec 17, 2018 · 8 comments
Assignees
Labels

Comments

@wangyi7099
Copy link

Reproduction Link

http://www.echartsjs.com/examples/editor.html?c=pie-rich-text

As you can see in the picture below,
bug

I set font-sze: 40px on rate, the fontSize of other labels also seem to become 40.

@cuijian-dexter
Copy link
Contributor

you can set series.label.normal.rich = {}

series : [
        {
            label:{
                normal:{
                    rich:{}
                }
            },
            data:{}
        }
]

@wangyi7099
Copy link
Author

I know I can set rich .

But when I set rich on one item, other items' label style also changed, this is unreasonable .

@cuijian-dexter
Copy link
Contributor

you can set series.label.normal.rich, then set series.data[i].label.normal.rich.

@wangyi7099
Copy link
Author

wangyi7099 commented Dec 17, 2018

Thanks . It works. But I also think we had better to optimize it ranther than set series.label.normal.rich manuelly.

@deqingli deqingli added the bug label Dec 17, 2018
@deqingli
Copy link
Member

deqingli commented Dec 17, 2018

@wangyi7099 This is a known issue, and we have resolved it in the next release version, I have tested it.

@deqingli deqingli reopened this Dec 17, 2018
@wangyi7099
Copy link
Author

How long will next version be released ?

@deqingli deqingli reopened this Dec 21, 2018
@deqingli
Copy link
Member

@100pah When will we release the next version?

@100pah
Copy link
Member

100pah commented Dec 21, 2018

Probably before the new year.

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

4 participants