-
Notifications
You must be signed in to change notification settings - Fork 19.7k
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] pictorialBar data为0的项显示错误 #16423
Comments
@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. 🤗 TRANSLATEDTITLE [Bug] Items with pictorialBar data of 0 are displayed incorrectly BODY Version5.2.2 Link to Minimal Reproductionhttps://codesandbox.io/s/y8te0 Steps to Reproduceoption = { Current BehaviorHover the mouse over any column, and strange graphics will appear elsewhere. Expected BehaviorEnvironment- OS:
- Browser:
- Framework: Any additional comments?This seems to happen when the following conditions are met
|
好像是设置了borderWidth导致的 |
This issue is labeled with Please have a look at How to debug ECharts if you'd like to give a try. 🤓 |
fix(pictorialBar): set valueLineWidth NaN value to zero. close #16423
Version
5.2.2
Link to Minimal Reproduction
https://codesandbox.io/s/y8te0
Steps to Reproduce
Current Behavior
鼠标悬浮到任意一个柱子上,其他地方都会出现奇怪的图形。
Expected Behavior
Environment
Any additional comments?
满足以下条件时,貌似就会出现这样的情况
1.类型为pictorialBar,symbol为”path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z“
2.data设置成0
3.series设置了itemStyle,且itemStyle里设置了borderWidth
4.xAxis设置了axisPointer
The text was updated successfully, but these errors were encountered: