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

[I] [Bug] 数据标签超出指定宽度省略时,若只渲染省略号能不能不显示 [echarts]

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

   ### Version
   
   5.6.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsDOBTAThLGAXMmurGAJ4hbEBEGArtAEYM4Zi0A0p6AJgEMwA4gG1UZMtAEBbGrFoAxYMD7deZAMYALCABs-OLNDETJZAG4C9DeQGYe5qbPlKcDCJ0dPYO_YeNTDScrG3kARm8fWGk5OgBBEBA9LFpgsgBfLhJo9FDbYgAmKJ9Y1wB5HAFoAHNUkqc_AyMTWHF0pzK6AGUsC30U2ErquvVcy2sC2HCOzOyzca6FACE9FT4hqtr62cl8iN3YDIBdWZP0rJyffeIATgbnOIUAWSwhMZ8mgNb28ZvYABsD0kS1oyzeADMPtEvi0guN0KDuhAcGsINBobl_jNxpcFrlQQAlCDMTHRbGHPGHREuOgAYW0DE0AGsyddJgdcfNqTFaQputpqqzgeYKbjTtEqX8OUURTSnrQGRAWcY2ZJYYE2vjoqCAOromoYNWimXTSkSnxSgl8sFGAQcY15U04y0WyTnd3ckKmoHpUEAETw0GZRoeGp-2omYWIDlmevROxhumamt-1oVAFVuvFHbB_oUzl7064AKJsUCJ3Lh-EI0EAcVwMmqFFzTujZvFZzdcyunRt3WAELAsED6OFs2rWsO_1jixtACkPJpK0n_HCpwjeQrEsksLBF8qV1jnZSi3OFcNtvul0fyaaC53Jd30B6e5H_r6-wrFPbdDA2ZOaZfq4dJrGAui1MagGRiC_a6DgYChtOJ6SmepQLgIKqIbmM5yr4ybfDW56uK8GJ4W2UwuqhvbFnQurAE2ZE8mKuSvk4Vp3u2xSHKCdLAEISHjNBPKgqRrZ5ihrFoTqNr0Yx4ksU-XYXN2HGPCBDEgAwYC4IJ5jCTJCp8TIIAwMY2Eiv8AAsIoGbRKwCEYzBmXpnGUYWNHelxeGgiWAAeOk4NIei5nZxF0AAEo5GyjhYBAKfe5oeTB6
 l0M8MCeMA7A4ZJ7HPkc0lRlMs7oRe4G4FBBHrkBpWuFmyw5e2VHmGpwH0va8XJTx_bAEwGx0tFrnsk1yl5RoJwlHoAjMFgejEJGwBxTgEJrAA7nQYDuNAmhCLesCrRAfDgcQ4QABzjaQGQoBkQA&_source=echarts-doc-preview
   
   ### Steps to Reproduce
   
   如示例,设置 label  的 overflow 和 width
   
   ### Current Behavior
   
   若图片中红框所示,展示了省略号
   
   <img width="1707" height="798" alt="Image" src="https://github.com/user-attachments/assets/8c5f2a8b-2cc4-4b4f-af79-4c7a8fec587b" />
   
   ### Expected Behavior
   
   期望只展示省略号时,直接不显示对应的标签
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### 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] 数据标签超出指定宽度省略时,若只渲染省略号能不能不显示 [echarts]

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

   可以设置 label.ellipsis 为空字符串


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