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

   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/Ovilia/pen/dyYWXWM
   
   ### Steps to Reproduce
   
   1. Open up the "Basic Treemap" example at 
[https://echarts.apache.org/examples/en/editor.html?c=treemap-simple](url)
   2. Add minimum configuration for handling too long labels in breacrumb items:
   `
   series: [  
       {  
         type: 'treemap', 
         breadcrumb: {
           itemStyle: {
             textStyle: {
               width: 35,
               overflow: "truncate"
             }
           }
         },
   [...]
   `
   
   ### Current Behavior
   
   Label truncation does not appear to occur.
   The option to set the maximum breadcrumb width works well.
   The label simply overlaps the others in the previous elements of the 
breadcrumb.
   
   ### Expected Behavior
   
   The expected behavior is that the label is confined inside the breadcrumb 
element and all the overflowing portion is simply cut off and replaced by the 
ellipsis.
   
   ### Environment
   
   ```markdown
   - OS: Windows 10/Windows 11/Ubuntu 20.04.4
   - Browser: Chrome 99
   - Framework: Vue@2
   ```
   
   
   ### 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