echarts-bot[bot] commented on issue #17787: URL: https://github.com/apache/echarts/issues/17787#issuecomment-1283532043
@SaberA1ter 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. 🤗 <details><summary><b>TRANSLATED</b></summary><br> **TITLE** [Bug] When the data of pie is all 0, the percentage is undefined **BODY** ### Version 5.4.0 ### Link to Minimal Reproduction https://codesandbox.io/s/clever-proskuriakova-0x5os5?file=/src/App.js ### Steps to Reproduce Just make the data data all 0 and display the percentage ### Current Behavior displayed as {d} or ({ percent }) both are undefined ### Expected Behavior In version 5.3.3, if the data is all 0, it should be displayed as 0% ### Environment ````markdown - OS: - Browser: - Framework: ```` ### Any additional comments? _No response_ </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
