Any way to display an overlay over the dcc.Graph?

Is there any way to display something on top of dcc.Graph? I would like to quickly display the tick/cross on top of the plot depending on the state
I want a separate callback to control this overlay


do you want to display something on top of the figure within the dcc.Graph or β€œcover” the dcc.Graph component itself?

Maybe you could provide a MRE?

1 Like

Preferably cover the dcc.Graph with something with transparent background?


You could wrap the dcc.Graph in another div with an id where you could change its state in a callback.

1 Like

Yes, this would work, just trying to avoid needing to have the double the number of dcc.graphs (one without, one with the tick)

Can you take a picture to give an example of what you want to accomplish?