helgasoft commented on issue #20237:
URL: https://github.com/apache/echarts/issues/20237#issuecomment-2278405874

   > label to fill all available space and truncate if it's not possible to 
display it whole.
   
   Makes sense. Tried to do it with _rich_ but found several _width_ problems:
   ```
     legend: {
       type: 'plain', 
       width: 22,    // does not work
       formatter: '{trr|{name}}',
       textStyle:{ 
         width: 100,  // does not work along with formatter
         overflow: 'truncate',
         rich: {
           trr: { 
             width: '33%',   // does not work
             color: 'violet'
           }
         }
       },
     },
   ```


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to