antvis/G2



The issue has been closed
Drag and zoom functionality #3480
mostopalove posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
https://codepen.io/mostopalove/pen/gOmqNWw
Steps to reproduce
I have two goals. 1 - make the view-zoom interaction work only for the Y axis (in this example, it is a year axis) 2 - make the drag-move interaction work for this type of chart. And also it must work only for the Y axis.
Are there any solution? Please, update my simple example. Thank you!
Environment | Info |
---|---|
g2 | 4.1.18 |
System | MacOS |
Browser | latest |
<!-- generated by antv-issue-helper. DO NOT REMOVE -->