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

   ### Version
   
   ^5.5.1
   
   ### Link to Minimal Reproduction
   
   
https://codesandbox.io/p/sandbox/echarts-basic-example-template-mpfz1s?file=%2Fsrc%2Findex.js%3A66%2C17
   
   ### Steps to Reproduce
   
   1.type: "sankey"
   2.Configuration items are as follows
           label: {
             show: true,
             color: "#333",
             backgroundColor: "transparent", 
             padding: [0, 0, 0, 0],
             overflow: "truncate",
             ellipsis: "...",
             width: "20%",
           },
   
   ### Current Behavior
   
   When I use the sankey diagram, I also pass in the attribute "overflow: 
'truncate'". ellipsis: "..." ,"width: "20%", this will cause the label not to 
display properly."
   
   <img width="1912" height="820" alt="Image" 
src="https://github.com/user-attachments/assets/6f8dcf6e-5ab9-4ad5-85cb-f4979e8d7cdd";
 />
   
   ### Expected Behavior
   
   Display the label in the normal way according to the width ratio.
   
   ### Environment
   
   ```markdown
   - OS:windows
   - Browser:chrome
   - Framework:vue@3
   ```
   
   ### 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