Allow selection or zoom along only one axis?


#1

By default plotly allow 3 type of zoom/selection : 1. box type, 2: only along vertical, 3:only along horizontal. Now for some reason I want that user can only select horizontally i.e. I can’t allow box or vertical selection. Is it possible with plotly?
I got this https://github.com/plotly/plotly.js/issues/1007 that do this for zoom but what about selection?


#2

-> https://plot.ly/javascript/reference/#layout-selectdirection