-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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] 半环形图(饼图),多项为0时,显示的不为一个半环形了。 #18732
Comments
@sober-bruce It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 TRANSLATEDTITLE [Bug] In the semi-circular chart (pie chart), when the number of items is 0, the display is no longer a semi-circular chart. BODY Version5.4.2 Link to Minimal Reproductionhttps://echarts.apache.org/examples/zh/editor.html?c=pie-half-donut Steps to Reproduce
Current Behavior
Expected Behavior
Environment- OS: Windows 10
- Browser:Chrome 113.0.5672.129
- Framework: [email protected] Any additional comments?No response |
配置文件信息是: |
老哥厉害~~ |
Version
5.4.2
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=pie-half-donut
Steps to Reproduce
1、官方实现半环形图,是在最后插入了一条数据(该条数据的value是前面所有项的总和,并把它的color设置成none),这样子就只显示了前面的项,实现了展示半环形的效果。
2、但是如果前面的项大于1个,并且value都为0,这样就会导致最后一项的value也是0;最后一项就不会占50%了。
Current Behavior
1、当项超过1且每项都为0时候,不会展示成半环形状态。
Expected Behavior
1、当项超过1且每项都为0时候,展示成半环形状态。
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: