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

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/freeliujian/pen/ZEwNwxE
   
   ### Steps to Reproduce
   
   this is option : 
   var option = {
     tooltip: {
       formatter(info) {
         const { name } = info;
         return [`<div>${name}</div>`].join('');
       },
     },
     color: ['#419CE6', '#44A2EF', '#5FB4F9', '#5FB4F9', '#5FB4F9'],
     series: [
       {
         type: 'treemap',
         width:262,
         height:208,
         breadcrumb: { show: false },
         roam: false,
         zoomToNodeRatio: 0,
         nodeClick: 'none',
         label: {
           // width: 15,
           // position: ['0', '10%'],
           overflow: 'breakAll',
           // formatter(info) {
           //   console.log(info, 'treemapInfo');
           //   const hasStylabelArrary = [`{name|${info.name}}`];
           //   return hasStylabelArrary.join(' ');
           // },
           // rich: {
           //   name: {
           //     verticalAlign: 'center',
           //     align: 'center',
           //     fontSize: 14,
           //     lineHeight: 16,
           //     fontFamily: 'Metric',
           //   },
           // },
         },
         itemStyle: {
           borderColor: '#fff',
           borderWidth: 1,
         },
         data: [
           {
             name: 'askjdhkjqwe',
             value: 50,
           },
            {
             name: 'asiudkjy',
             value: 40,
           },
           {
             name: 'askjdkajshdkj',
             value: 30,
           },
           {
               name:'asd',
             value: 15,
           },{
             name: 'Aqweisj Viwushbwkqi of thefood Exshutweq Owuwbashr',
             value: 9,
           },
         ],
       },
     ],
   };
   
   ### Current Behavior
   
   the text is overflow
   
![image](https://github.com/apache/echarts/assets/31119150/2f8a60c0-4b26-4072-9054-627554bd3751)
   
   
   ### Expected Behavior
   
   hope don't overflow
   
   ### Environment
   
   ```markdown
   - OS:Window 11
   - Browser:[email protected]
   - 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: [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