✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Select area only by x coordinate using plotly.js

I need to select the area on the chart, see example https://jsfiddle.net/aliakseimaniuk/k556wna9/. Select works perfectly, but I want to do a light modification. I want to select only using X coordinate. It means when users try to select area it should be selected with all values at Y coordinate, regardless of the cursor position. Like on the image below

Is it possible to do that way, if yes, please provide some hints how to do that? Thank you in advance.

Not at the moment, unfortunately.

@etienne Thank you for the response. Do you know if there are some plans to add such functionality?

Hi, is this possible now?

I have ended up using selectdirection='h' to achieve what I wanted.