-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
fix(scatter): fix edge scatter may be unexpectedly clipped due to tiny offset #18867
Conversation
…y offset. - add the `tolerance` parameter for `CoordinateSystem#getArea`. - set the default tolerance of the scatter series as `1e-2`
Thanks for your contribution! The pull request is marked to be |
The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-18867@65717db |
Congratulations! Your PR has been merged. Thanks for your contribution! 👍 |
Brief Information
This pull request is in the type of:
What does this PR do?
Fix the scatters near the edge of the coordinate system grid may be unexpectedly clipped due to a tiny offset.
tolerance
for theCoordinateSystem#getArea
method.0.1
(Got by test, it should cover more scenarios than1e-2
)Similar to PR #16329.
Fixed issues
Comparison
Document Info
One of the following should be checked.
Misc
ZRender Changes
Related test cases or examples to use the new APIs
Please refer to
test/clip2.html
.Others
Merging options
Other information
The bar series has the same bug. See also #16666. It can be fixed in another PR later.