Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Real time event when dragging or zooming the plot

Hello,
I would like to hook data in my webpage to what is displayed on the graph. I am currently using the ‘plotly_relayout’ event but this event only fires at the end of the dragging action, while I want to do some real time feedback.Is there such an event available?
The current alternative I am looking at is to hook on event on mousemove and check the changes of the transform attribute of the .plot element, and then translate these values into the data domain.
Thanks,
Daniel

Not at the moment. I’d recommend trying to bind an event handler to the graph div itself. I can’t guarantee this will perform well though.