plainheart commented on issue #21504: URL: https://github.com/apache/echarts/issues/21504#issuecomment-3878720072
If using the new ECharts v6, you can try adding `axisLabel.lineOverflow: 'truncate'` to enable truncation of overflowing text lines in the vertical direction. This option should meet your requirements, it's added since v6.0.0 but is undocumented yet. [Demo](https://echarts.apache.org/examples/editor.html?c=line-simple&code=RU-7DsIwDNz5ituyMPBcghgQKxILG2JIqWkjohilBopQ_50QGhpFlu07n318E8sea7xHQLtpbaNTCpRGjMZRHWrbIH4Dx_n5CkKtqDEG2DWcOBk7jZOMiZI7U5DLukBhztcq8N2XW3YcNFSgUv3oQE22qkVjMcmdpy2l1lj-G_ygcHH8jJNFIHP9zzrraT-AEu7-bIRUgrsYuy_z1dtMRUPBUqyOiZNP7M1P407M5pPeCyCvG0Xh755B9DTqVh8&enc=deflate) -- 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]
