echarts-bot[bot] commented on issue #16423: URL: https://github.com/apache/echarts/issues/16423#issuecomment-1020841001
@Colin3191 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] Items with pictorialBar data of 0 are displayed incorrectly **BODY** ### Version 5.2.2 ### Link to Minimal Reproduction https://codesandbox.io/s/y8te0 ### Steps to Reproduce option = { color: ["#47D3FF"], series: [ { type: "pictorialBar", itemStyle: { show: true, color: "#47D3FF", borderWidth: 2 }, symbol: "path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z", data: [ { value: 3097 }, { value: 0 } ], yAxisIndex: 0, stack: false } ], tooltip: { show: true }, xAxis: [ { axisPointer: { show: true }, data: ["Company", "Consumer"] } ], yAxis: [ { type: "value" } ] } ### Current Behavior Hover the mouse over any column, and strange graphics will appear elsewhere. ### Expected Behavior - ### Environment ````markdown - OS: - Browser: - Framework: ```` ### Any additional comments? This seems to happen when the following conditions are met 1. The type is pictorialBar, and the symbol is "path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z" 2.data is set to 0 3.series set itemStyle 4.xAxis sets axisPointer </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]
