rishyanthkondra opened a new pull request, #21497:
URL: https://github.com/apache/echarts/pull/21497
## Brief Information
This pull request is in the type of:
- [x] bug fixing
- [ ] new feature
- [ ] others
### What does this PR do?
- Fix the rendering of chord edge when edge value is 0 in clockwise
orientation
### Fixed issues
N.A
## Details
### Before: What was the problem?
```
option = {
series: [
{
type: 'chord',
label: { show: false},
data: [
{ name: 'A' },
{ name: 'B' },
{ name: 'C' },
{ name: 'D' }
],
links: [
{ source: 'B', target: 'A', value: 100 },
{ source: 'C', target: 'B', value: 0 },
{ source: 'D', target: 'C', value:50 }
]
}
]
};
```
with clockwise: false, its correct but without it, there is a shade on full
circle
<img width="800" height="600" alt="image"
src="https://github.com/user-attachments/assets/251a4e0c-27ae-487d-a2bd-f6e8cc65eab2"
/>
### After: How does it behave after the fixing?
<img width="800" height="600" alt="image"
src="https://github.com/user-attachments/assets/f558031e-c341-4b27-9ad9-61f73ac99fd8"
/>
## 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
### Security Checking
- [ ] This PR uses security-sensitive Web APIs.
<!-- PLEASE CHECK IT AGAINST:
<https://github.com/apache/echarts/wiki/Security-Checklist-for-Code-Contributors>
-->
### ZRender Changes
- [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).
### Related test cases or examples to use the new APIs
N.A.
### Merging options
- [x] Please squash the commits into a single one when merging.
### Other information
N.A.
--
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]