echarts
echarts copied to clipboard
fix(pictorialBar): symbol should not flip with zero data
Brief Information
This pull request is in the type of:
- [x] bug fixing
- [ ] new feature
- [ ] others
What does this PR do?
When data value is 0, there was a bug that the item symbols are flipped.
Fixed issues
#20260
Details
Before: What was the problem?
Symbol filpped.
After: How does it behave after the fixing?
Symbol not flipped.
Document Info
One of the following should be checked.
- [x] This PR doesn't relate to document changes
- [ ] The document should be updated later
- [ ] The document changes have been made in apache/echarts-doc#xxx
Misc
ZRender Changes
- [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).
Related test cases or examples to use the new APIs
N.A.
Others
Merging options
- [ ] Please squash the commits into a single one when merging.