waterWang commented on issue #21728: URL: https://github.com/apache/echarts/issues/21728#issuecomment-5286682231
I've submitted PR #21729 to fix this. ## Root cause The jitterLayout stage only checked the **base axis** (`getBaseAxis()`) for jitter configuration. When both axes are category with jitter, only the base axis direction was jittered; the other axis's jitter was ignored. ## Fix `jitterLayout.ts` now also checks the other axis (`coordSys.getOtherAxis()`) — if it's ordinal and has `jitter > 0`, jitter is applied along that direction too. This makes scatter points spread in both x and y directions when both axes are category with jitter configured (like JMP scatter plots). The fix is a pure frontend/TS change in `src/chart/scatter/jitterLayout.ts`, no API changes required. -- 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]
