-
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
Implement DataZoom Feature - Fixes #19732 #19835
base: master
Are you sure you want to change the base?
Conversation
Thanks for your contribution! To reviewers: If this PR is going to be described in the changelog in the future release, please make sure this PR has one of the following labels: This message is shown because the PR description doesn't contain the document related template. |
The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-19835@a254f12 |
@gooroodev review |
Summary of Changes
Issues, Bugs, and Typos
Proposed ImprovementsImprovement 1:
Improvement 2:
Improvement 3:
General Review of Code Quality and Style
Detailed Code ReviewImprovement 1: + /**
+ * Add configuration attribute to control zoom X and Y axis.
+ */ Improvement 2: + xAxisData.push('Category' + i); Improvement 3: export default InsideZoomModel;
\ No newline at end of file
+ These improvements address the identified issues and enhance the overall quality and correctness of the code. Yours, Gooroo.dev. To receive reviews automatically, install Github App |
Overview
This Pull Request introduces a new mobile-specific feature for the
dataZoom
component within ECharts. It resolves feature #19732, which requests the implementation of mobile dataZoom-Inside for horizontal and vertical using touch gestures and scrolling scale using mouse.Changes
The following are the key changes made in this PR:
InsideZoomModel.ts
andInsideZoomView.ts
to support touch gesture recognition for mobile devices.Testing
Manual testing was conducted to confirm the functionality. Test file : test/test-scroll-zoom.html
By merging this PR, ECharts will provide an enhanced interactive experience for mobile users, allowing more precise control over data visualization.
Screenshots
Notes
Resolves: #19732