-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Comments
fix(axis): fix axis label may have inappropriate precision or take too much unexpected space when alignTicks is enabled#21430
Open
plainheart wants to merge 1 commit intomaster from
Open
fix(axis): fix axis label may have inappropriate precision or take too much unexpected space when alignTicks is enabled #21430plainheart wants to merge 1 commit intomaster from
alignTicks is enabled #21430plainheart wants to merge 1 commit intomaster from
Conversation
...o much unexpected space when `alignTicks` is enabled
Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.
The pull request is marked to be PR: author is committer because you are a committer of this project.
Contributor
The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-21430@eb45d17
nuteu
commented
Dec 23, 2025
@plainheart 请问这个mr后续会回合到 5.x 版本吗
Member
Author
@nuteu 除非有安全性问题,通常不会再更新旧版本。若有需求,可以考虑使用 patch-package 工具制作一个补丁。
Member
(Work in progress ...)
Comprehensively fixed bad cases of "alignTicks" and "precision":
Series data disappear in some cases
image imageRounding error occur on min/max/ticks
image imageBetter auto precision
image imageIncorrect ticks for small series data
image imageLay out series data to the center of Y
imageBad cases when alignTo axis min or max is set
imageReasonable effect when dataZoom controls all yAxis
image image imageRadar bad case
image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
Brief Information
This pull request is in the type of:
What does this PR do?
This PR is to fix the following issues when
alignTicksis enabled:Fixed issues
Comparison
Document Info
One of the following should be checked.
Misc
Security Checking
ZRender Changes
Related test cases or examples to use the new APIs
See the 6th/7th/8th test cases in
test/axis-align-ticks.htmlMerging options
Other information