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

[I] [Bug] Sangitu is simultaneously configured with overflow: "truncate" and ellipsis: "..." "width: "20%" will cause the label to disappear. [echarts]

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: 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


Re: [I] [Bug] The label cannot be displayed normally under the specific configuration of sankey. [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #21223:
URL: https://github.com/apache/echarts/issues/21223#issuecomment-3220730279

   not-a-bug, [width](https://echarts.apache.org/en/option.html#series-sankey.label.width) does not accept percentages, [Demo](https://echarts.apache.org/examples/en/editor.html?c=sankey-simple&code=PYBwLglsB2AEC8sDeAoWsDOBTAThLGAXMmurGAJ4hbEDkGAhtANZYW0A0p6ANgxcACuYOtBhZO3WFgC2IABYMMEIiTJkAZsADGg1bQYATAFYNtWaNvZSAvl3WGGYBsQDaU9KnXroDGTVgDACMcMyMGEIZaD1g7GK9vdF9_OiCARmjEuMSExOSAgzSi4pKizO9s71zvfLptcvUbKQBdezIeCBZVdxyY9AwhHHM6CNDtcMjJRPRnHABzLBFAhlLVjLbEgDcGHkEAgFYYyvVq9QHBIYL0qenZhaXCtZKbrZ294jSjjbJTsnPL1LrPrkBjzRZ1F7eba7AIAJiOLW-fCCWB4xF-GHkwAA7sQwDg9t90NpgDxgDg6ABiADMtMh6CCZmYcxwQmghgAwqTyXR8UwMCBQRYwPTYILDIZOnM3AAGDiwOUK-Uy1oxYCbXAaMm4wL4wSWJwSInSHgdEDKfQAOmtouxEEMYHkxFptlITRsAG4gA).


-- 
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

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


Re: [I] [Bug] The label cannot be displayed normally under the specific configuration of sankey. [echarts]

Posted by "cypcypcyp123 (via GitHub)" <gi...@apache.org>.
cypcypcyp123 closed issue #21223: [Bug] The label cannot be displayed normally under the specific configuration of sankey.
URL: https://github.com/apache/echarts/issues/21223


-- 
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

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