# Make dash loading component active over several callbacks

**URL:** <https://community.plotly.com/t/make-dash-loading-component-active-over-several-callbacks/66352>\
**Category:** Dash Python\
**Created:** [July 22, 2022, 2:05pm UTC](https://community.plotly.com/t/make-dash-loading-component-active-over-several-callbacks/66352 "2022-07-22T14:05:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesIsCooke](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@JamesIsCooke](https://community.plotly.com/u/JamesIsCooke)\
**Post date:** [July 22, 2022, 2:05pm UTC](https://community.plotly.com/t/make-dash-loading-component-active-over-several-callbacks/66352/1 "2022-07-22T14:05:20Z")

</div>

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!
