RookieLittleFatty opened a new issue #10327: legend rich align right not work URL: https://github.com/apache/incubator-echarts/issues/10327 ### Version 4.0.0 ### Reproduction link [https://www.echartsjs.com/examples/editor.html?c=pie-nest](https://www.echartsjs.com/examples/editor.html?c=pie-nest) ### Steps to reproduce add the following to legend, you can find the align prop work weired: textStyle: { rich:{ label: { width: 220, fontSize: 18, borderWidth: 1, borderColor: '#ff0000' }, num: { width: 130, fontSize: 18, align: 'right', borderWidth: 1, borderColor: '#ff0000' }, ratio: { width: 100, fontSize: 18, align: 'left', borderWidth: 1, borderColor: '#ff0000', } }, }, formatter: '{label|{name}}{num|200}|{ratio|33%}', ### What is expected? I want the label align left, num align right, ratio align left ### What is actually happening? num can not align right <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
