Hi everyone,
I have a problem where I would like to put a Loading component around a graph. This works perfectly in the standard case, but we are using serverside outputs and have to split our single graph creation callback into multiple callbacks i.e.
Handle user input callback → global get data callback populating serverside output → create figure
Unfortunately I cannot work out how to make our loading component active over these three callbacks.
Things I have tried to no avail:
Adding the figure as an output to each callback (first two callbacks return a blank figure)
Trying to set the loading state of the figure in the first callback
Any suggestions (including different architectures) would be appreciated!