plainheart opened a new pull request #16736: URL: https://github.com/apache/echarts/pull/16736
<!-- Please fill in the following information to help us review your PR more efficiently. --> ## Brief Information This pull request is in the type of: - [x] bug fixing - [ ] new feature - [ ] others ### What does this PR do? The chart throws errors when `splitLine` is enabled in the radius axis, resolves #16731. ### Fixed issues - #16731 ## Details ### Before: What was the problem? It will throw illegal argument errors as zrender basic shape `Circle` doesn't handle the value less than `0`, unlike the `Sector` shape, it normalizes such an unexpected radius value. ### After: How is it fixed in this PR? Ensure the circle radius is non-negative in ECharts. ### Comparison  ## Misc <!-- ADD RELATED ISSUE ID WHEN APPLICABLE --> - [ ] The API has been changed (apache/echarts-doc#xxx). - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx). ### Related test cases or examples to use the new APIs Please refer to `test/splitLine.html` ## Others ### Merging options - [ ] Please squash the commits into a single one when merging. ### Other information -- 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]
