antvis/G2

条形图配置scrollbar时,滚动事件不生效 #3918

itiiss posted onGitHub

  • [✅ ] I have searched the issues of this repository and believe that this is not a duplicate.

Edit on CodeSandbox

Steps to reproduce

直接滚动图表区域

Environment Info
g2 4.2.1
System -
Browser -

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


文档里没有给出,需要手动添加交互chart.interaction('plot-mousewheel-scroll', { start: [ { trigger: 'plot:mousewheel', action: 'mousewheel-scroll:scroll', arg: { wheelDelta: 5 } }, ], });

posted by itiiss almost 3 years ago

Fund this Issue

$0.00
Funded

Pull requests