chengzhanli opened a new pull request, #20542: URL: https://github.com/apache/echarts/pull/20542
## Brief Information This pull request is in the type of: - [ ] bug fixing - [x] new feature - [ ] others ### What does this PR do? Enhances the `grid.containLabel` property in ECharts to allow specifying the direction (`horizontal` or `vertical`) for label containment. ### Fixed issues [#20540](https://github.com/apache/echarts/issues/20540) ## Details ### Before: What was the problem? The `grid.containLabel` property was a simple boolean flag, which only enabled or disabled label containment. It lacked granularity, making it difficult to handle specific directions (e.g., only horizontal or vertical). ### After: How does it behave after the fixing? The `grid.containLabel` property now supports specifying the direction (`horizontal` or `vertical`) for label containment. This allows more precise control over grid size adjustments based on axis labels.Ï ## Document Info One of the following should be checked. - [ ] This PR doesn't relate to document changes - [x] The document should be updated later - [ ] The document changes have been made in apache/echarts-doc#xxx ## Misc ### ZRender Changes - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx). ### Related test cases or examples to use the new APIs N.A. ## Others ### Merging options - [ ] Please squash the commits into a single one when merging. ### Other information -- 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]
