You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "h4de5 (via GitHub)" <gi...@apache.org> on 2025/03/24 08:00:16 UTC

[I] [Bug] Pie chart with borderWidth put center off [echarts]

h4de5 opened a new issue, #20853:
URL: https://github.com/apache/echarts/issues/20853

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/p/sandbox/referer-of-a-website-tvthft
   
   ### Steps to Reproduce
   
   1. create pie chart
   2. add series with specific colors
   3. set bordercolor to the same color
   4. set borderWidth
   
   ### Current Behavior
   
   Each border draws into the area of the neighbor - only the last stops exactly at the full circle. this make the center look like its off by the border width
   
   ![Image](https://github.com/user-attachments/assets/bb89023f-7661-4bb4-8c47-785144f59ed5)
   
   ### Expected Behavior
   
   The center should not be off.
   
   when the series colors are removed, it behaves the same but the center still seems to be at the center:
   
   ![Image](https://github.com/user-attachments/assets/94707d7f-1198-423d-a30f-1211872a30ff)
   
   ### Environment
   
   ```markdown
   - OS: Windows 10
   - Browser: Chrome
   - Framework: webcomponents
   ```
   
   ### Any additional comments?
   
   _No response_


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org