fandi-1205 opened a new pull request, #20041:
URL: https://github.com/apache/echarts/pull/20041

   ## Brief Information
   
   This pull request is in the type of:
   
   - [x] bug fixing
   - [ ] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   #19993 Clipping in custom series off by 1 pixel 
   
   ### Fixed issues
   
   
   ## Details
   
   ### Before: What was the problem?
   
   There is a boundary overflow issue when creating a clipping path in the 
custom series.
   
![image](https://github.com/apache/echarts/assets/141796004/7ef061da-a5b0-429f-bb01-03be42229fe8)
   
   
   
   
   ### After: How does it behave after the fixing?
   
   Modified part of the logic for the clipping path. Since the custom type does 
not include the `lineStyle` property, the thickness of the axis line cannot be 
correctly obtained. It is necessary to obtain the thickness of the axis lines 
before adjusting the position and size of the clipping path.
   Changing the thickness of the axis lines will not cause overflow.
   
![image](https://github.com/apache/echarts/assets/141796004/be296609-9000-467c-9648-094055668ca6)
   
![image](https://github.com/apache/echarts/assets/141796004/f68a11e5-2883-4ce0-98aa-4d55a690ba26)
   
   
   
   
   ## Document Info
   
   One of the following should be checked.
   
   - [ ] This PR doesn't relate to document changes
   - [x] 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.
   
   ### 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]

Reply via email to