Dynamically Update Dropdown

Hi everyone,

I have been mulling over the idea of having some code run inside an interval callback that would query my log files and dynamically update a multi=True dropdown with the top five tags to monitor. I would then like dash to recognie the dropdown had changed and draw the graphs associated with these top five tags. Is something like that possible using dash?

Regards,
oldmanraskers

Yes you can do that with callbacks, have a callback output the Dropdown value property with the interval as Input. Then you can have a callback with Output('graph-container', 'children'), [Input('dropdown', 'value')] to change the graph displayed according to the options.