🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Zoom event not triggered while live stream


I’ve got a problem with zooming into live data plots. If the refresh rate is high (< 100ms) no event is triggered in graphDivObj.on(“plotly_relayout”,… ). Even the click event isn’t triggered. If the the stream is paused or slow
the events are triggered.

I use redraw() to refresh the plot. So i guess, events won’t trigger if a redraw() runned in the time a click or zoom event lasts.

const id = setInterval(() => {
      if (!this.isPaused) {
    }, this.refreshRate);

Does this work with another solution to redraw the plot or is there another way to get it work?