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