GoogleWebComponents / google-chart

Google Charts API web components
https://www.webcomponents.org/element/@google-web-components/google-chart/elements/google-chart
Apache License 2.0
358 stars 130 forks source link

Mousewheel scroll behaviour on zoom in bubble chart #240

Closed Abhijeet-Das closed 4 years ago

Abhijeet-Das commented 5 years ago

Hello , I made a Google bubble chart and added an explorer object ( 'explorer' : { } ) to zoom along x and y axis. But I noticed the zoom behavior is opposite to what is observed in Google maps. When the mousewheel is scrolled away from the user, the chart gets zoom out. But the same behavior is reversed in google maps ( scroll away, then by zoom in ). Similarly, When the mousewheel is scrolled towards the user, the chart gets zoom in. But the same behavior is reversed in google maps ( scroll towards, then by zoom out ).

Is there any way to fix this or set any parameter to reverse the mousewheel behaviour !

rslawik commented 5 years ago

Please create this issue under google/google-visualization-issues/issues. This component uses Google Charts as is and it looks like changing the zoom-in scrolling direction is not supported.

Abhijeet-Das commented 5 years ago

Thanks. I have created this issue under google/google-visualization-issues/issues.

rslawik commented 4 years ago

Issue discussed in google/google-visualization-issues#2727.