-
Notifications
You must be signed in to change notification settings - Fork 19.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(scatter): jittering for category data #19941
base: next
Are you sure you want to change the base?
Conversation
Thanks for your contribution! The pull request is marked to be Document changes are required in this PR. Please also make a PR to apache/echarts-doc for document changes and update the issue id in the PR description. When the doc PR is merged, the maintainers will remove the |
The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-19941@b95d379 |
@Ovilia 这个还有多久可以发布呢 |
@xyy7260 This feature is planned for ECharts 6.0, which is expected to be release in the first season of 2025. If you are interested in using it before then, you may fork it after being merged and use it locally. |
@Ovilia 没尝试过如何提前合并。 如果我要提前合并,在哪里查看你这个 fork |
Step 1: Clone the repository or update your local repository with the latest changes. git pull origin next git checkout next git merge feat-scatter |
@Ovilia OK |
Brief Information
This pull request is in the type of:
What does this PR do?
This PR proposes a jittering effect for category axes and single axes, solving #18432 as well as providing a foundation to support the violin series.
It also provide an option
jitterOverlap
to support a beeswarm-like effect where scatters try not to overlap each other.Fixed issues
#18432
API Changes
A new
axis.jitter
option innumber
type, which is the jitter max range in pixelsDetails
Jittering is useful in scatter plots for:
Document Info
One of the following should be checked.
Misc
ZRender Changes
Related test cases or examples to use the new APIs
N.A.
Others
Merging options
Other information