Black Lives Matter. Please consider donating to Black Girls Code today.

Updating a graph from two sources

I have a graph and want to be able to update it both from an upload and via manual table editing (the upload also updates a table)… but can only set a callback to either one, since there’s a limit of 1 callback per output.

Any suggestions how to resolve this?

You may be requiring a hidden div that is also an input in two callbacks, one entering in your graph’s callback and one for your table’s callback

The hidden div is produced from a base callback. May need to play around in the order listing callbacks as i have the feeling that the order impacts in which callback is fired before the other, although they are to be fired simultaneously

1 Like