You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need this functionality and request some assistance to realize it.
At the moment I use the following approach:
when user zoomed plot, onRelayout handler gets fired and starts data loading.
when data is loaded it is passed to the component
new data leads to re-render.
it's works fine, but:
if I catch the moment when component is re-rendering because of the new data and do an aditional zoom operation at the same moment, then I get a strange jump/flickering of my plot for a moment.
It's looks like a race of states.
Inner state which is responsible for zoom transformations changes at the same time with component re-rendering.
I need advice on how to get rid of this bug. Or how to propeply realize this feature, in case if I completely wrong in my approach.
Thanks.
The text was updated successfully, but these errors were encountered:
I need this functionality and request some assistance to realize it.
At the moment I use the following approach:
it's works fine, but:
It's looks like a race of states.
Inner state which is responsible for zoom transformations changes at the same time with component re-rendering.
I need advice on how to get rid of this bug. Or how to propeply realize this feature, in case if I completely wrong in my approach.
Thanks.
The text was updated successfully, but these errors were encountered: