plainheart opened a new pull request, #21430: URL: https://github.com/apache/echarts/pull/21430
## Brief Information This pull request is in the type of: - [x] bug fixing - [ ] new feature - [ ] others ### What does this PR do? This PR is to fix the following issues when `alignTicks` is enabled: 1. Fix axis label may have inappropriate precision 2. take too much unexpected space when `alignTicks` is enabled ### Fixed issues - Fix #21116 - Fix #19967 - Fix #18063 ## Comparison | Before | After | | :----: | :----: | | <img width="1925" height="1175" alt="image" src="https://github.com/user-attachments/assets/8ef6b421-562d-49aa-90b0-a9724a44744b" /> |<img width="1925" height="1182" alt="image" src="https://github.com/user-attachments/assets/d525210e-73b4-4e8a-919c-191da2dd4381" /> | | <img width="1922" height="1181" alt="image" src="https://github.com/user-attachments/assets/83febb81-0c58-42a9-a79b-ae8869414f02" /> | <img width="1922" height="1181" alt="image" src="https://github.com/user-attachments/assets/a872aacc-6e6d-41ba-b31c-8dcdae1ed4bd" /> | | <img width="1917" height="1127" alt="image" src="https://github.com/user-attachments/assets/f79baca0-5906-47a3-adc3-ba4b78c675da" /> | <img width="1920" height="1132" alt="image" src="https://github.com/user-attachments/assets/50e8638c-8b34-4755-850c-719937eecd8b" /> | ## Document Info One of the following should be checked. - [x] This PR doesn't relate to document changes - [ ] The document should be updated later - [ ] The document changes have been made in apache/echarts-doc#xxx ## Misc ### Security Checking - [ ] This PR uses security-sensitive Web APIs. ### ZRender Changes - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx). ### Related test cases or examples to use the new APIs See the 6th/7th/8th test cases in `test/axis-align-ticks.html` ### 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]
