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

[Bug] When the sunburst is anticlockwise, the leaf node text displays the problem externally #19050

Closed
dmcisgood opened this issue Aug 29, 2023 · 1 comment
Labels
bug difficulty: easy Issues that can be fixed more easily than the average. en This issue is in English topic: sunburst

Comments

@dmcisgood
Copy link

Version

5.4.3

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=sunburst-drink&edit=1&reset=1

Steps to Reproduce

Use official case
https://echarts.apache.org/examples/zh/editor.html?c=sunburst-drink&edit=1&reset=1

Current Behavior

set clockwise=false
set levels:{
{},{},{},
//叶子层,最外层
{
label:{
position:'outside'
}
}
}

As a result, the text of the leaf nodes is half on the outside and half on the inside

Expected Behavior

The text of the leaf node can be displayed outside the leaf node

I don't know if there is a way to solve this problem, I don't see it, or it is a problem

Environment

- OS:windows10
- Browser: chrome 114.0.5735.248

Any additional comments?

When learning sunburst, I set clockwise=false first, but after testing the label, because it is not changed before, I found this problem right now

@dmcisgood dmcisgood added the bug label Aug 29, 2023
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Aug 29, 2023
@Ovilia Ovilia added topic: sunburst difficulty: easy Issues that can be fixed more easily than the average. and removed pending We are not sure about whether this is a bug/new feature. labels Aug 29, 2023
@echarts-bot
Copy link

echarts-bot bot commented Aug 29, 2023

This issue is labeled with difficulty: easy.
@dmcisgood Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.

Please have a look at How to debug ECharts if you'd like to give a try. 🤓

@Ovilia Ovilia added this to the TBD milestone Aug 29, 2023
@Ovilia Ovilia closed this as completed in 38ec1b5 Oct 8, 2023
@Ovilia Ovilia removed this from the TBD milestone Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug difficulty: easy Issues that can be fixed more easily than the average. en This issue is in English topic: sunburst
Projects
None yet
Development

No branches or pull requests

2 participants