简体   繁体   中英

R plotly choropleth disable mouse wheel zoom

I'm plotting a choropleth map using plotly package on R https://plot.ly/r/choropleth-maps/

But the mouse wheel zooming in/out is very annoying. Is there a way to disable it?

您可以通过 Choropleth 地图中的“scrollZoom”关闭滚动缩放。

dcc.Graph(config = dict({'scrollZoom': False}))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM