helgasoft commented on issue #21309: URL: https://github.com/apache/echarts/issues/21309#issuecomment-3391618000
Apparently you are trying to **truncate** on _rich_ format level using _rich.width_. First - `overflow: 'truncate'` needs to be under _axisLabel_, since there is no API for _rich.overflow_. Second - _rich.width_ is not ignored, but affects (replaces? nullifies?) _axisLabel.width_. That is a gray area which should be addressed by the developers in the API. [Demo](https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=GYVwdgxgLglg9mABAcwKZQNKoJ4AoBuAhgDYioCUiA3gFCKIBO6IDSRpqAdAM5SENRuAdRhQAFrgDkAWQSTKAfkSSAtnMQAuZXHGoGkgNw0AvjRpwADrASIAvNTqIAHgEEnMbltr16UbBdQtSQhCKFRkOAZsSQAaR3pCd24AGUIAI1RiL3ifGDAwhnYtAAY4nx84fD1gYjgAdyCoBnAQsNjEHPo6mAATcS0ARmLSzsRgSJVQgq0CEjJKWwA-akZmVkQAAyoAEio0TBxZjnJjAB9d9jJjYw3jMvLGGAgxbIefNTBXt58IOFqGIJMHqxUblYh5VAACVQMGQYigWgATIj7t9EAB6dGIbp9F6IIalNGYxCEYDAVDQbiIJotUKoUEVKoMGr1RrNSB0yT0YmwsCRVA9GKIPmIFwABQAkgy7gydGI9F80b9_kE0hwQWj6OCwFCYXCEYgUQzuVicf18YSiVjSeTKdT2a16ZrEJVqrUGsoaRy2ibELz-YLhXBRZLpaNTOUZeUeqFCFoANqjGQIGPYElgHqIJlp2pgZCIYjpTJZ1ClvQ5hDIDUPSQAFTI3FT1fKkiEAp1jcI0VRPjrYhYne7SYAYgwYNgmz36JIAMqhFiTpMz8CpxDLjNdxFrlddgDMkhyAF1HFHENg3B5FdT_IFlJdUAf6KfuHoYKhPIhE-VvA8Y3wEwMiKEkBhIDAArISAAchIAOygUMQoDLuxSHlO14BKq_CPj4EaIMexgGEAA) -- 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