Rohitgiri02 commented on PR #21392: URL: https://github.com/apache/echarts/pull/21392#issuecomment-3641542435
i tried to reproduce > I tried the [demo](https://echarts.apache.org/examples/zh/editor.html?c=line-simple&code=TVK7TsMwFN35irsFJBQlRQgUxAADE1uRGBCD25rUwsSV61AqhMQCZYCBgZfEQ0KCjXZCqgqlP9NE7dRfwHZcp0Nu7rk-Pvfhy2qCsAjW4XQOIOSkEmgPgOIDEYC3qIFgNeuXmBDsyMIyiwQi0TYqYRqA4DFW8TNlmhsnpD7VQ9I3pCwgQ5SEUQAOJ2FVOJkcQINURDUA3zMJANgx5geUNSRV6kdlJLBlY0pJra7SOK7rmrDMnpXdrGF5oC6EjDfNaQUJFMCeEXBGg6e0_T3qvCSt3rB3OX5oj98fJ7_X6dVt-vyW_F3Mdji-GyS9z-HPB0wGfd2faxtzdeUw7PaS1uXo_HrYvUkfO5KbtF_HTxfpfSv5ekjafSWgObYJZxdXcrBTjXOwxUkOiigfk1OMIwP27cRPZiduuj9GNM7mpSl1zAmWnKz_6VOYmfgFbxEKcvLgL0uzKr8VBXxlljydaEa6hLitp15ljU1UPgw5iyO5RdNN0Ctj40XRpPLmNK1aH8q42oGwhOZ9lTA3nltYsPq6ePOTdZyt_QM&enc=deflate) in #16111, and it seems to work as expected on my end. Could you provide more details about the issue you're experiencing? When grid.containLabel was set to true and yAxis.axisLabel.width was configured with overflow: 'truncate', the grid layout calculation incorrectly used the actual text width instead of the configured width value. This caused the grid to reserve too much space for axis labels, resulting in incorrect chart layout. -- 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]
