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

   ### Version
   
   6.1.0
   
   ### Link to Minimal Reproduction
   
   
https://echarts.apache.org/examples/zh/editor.html?c=pie-half-donut&code=bZBBq8IwDMfvforA49HLDhU33tjDg6jgXfQiO2RdnMXajq4qIn53u7FVD-sl6T-_JH9iaieNhjk8JwANWUlNBgefQ6e0zz1qyoDVkljUS4K0I-tBlvBfFkEX8qGqsCCVhX4vSE0bktXJZTBN-MABmBvZozJ3P76whOewAKBAca6suepyaZTxu9iPECIAryEp0eHguHMNN1RXb3jK4zQCjZfW_JbQihOsdeWtsE_3F_83SwK-kpaEG-eSlAdufUGpxrE4jQO20-2NF2Uzjs74Z-JelmR6tCfzLra_fPL6fwM&enc=deflate
   
   ### Steps to Reproduce
   
   如果饼图的标签同时设置 { backgroundColor: 'any color' } 和 { overflow: 'break' } ,当标签的行高 
lineHeight 太大时,标签背景的宽度会异常。
   
   If the label of a pie chart is set with both { backgroundColor: 'any color' 
} and { overflow: 'break' } , when the lineHeight of the label is too large, 
the width of the label background will be abnormal.
   
   <img width="945" height="687" alt="Image" 
src="https://github.com/user-attachments/assets/d1a7e291-0793-4db0-845c-00661ea735f1";
 />
   
   ### Current Behavior
   
   the width of the label background is too wide
   
   ### Expected Behavior
   
   the width of the label background needs to fit label
   
   ### Environment
   
   ```markdown
   - OS: win10
   - Browser: Edge 150.0.4078.99
   ```
   
   ### 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: [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