I am selecting the name of a portfolio from a Dropdown Menu. Using a callback I can update e.g. a graph. This update function would access a database which is kind of expensive. How can I load the portfolio only once and update multiple table and graphs?
Also, how do I get rid of those command buttons on top of all my graphs?
Hi, I followed the steps above, i.e. I only did the expensive query once, saved the jsonified result to a hidden html Div, and then created the graphs using that result.
However, my graphs now seem to be completely off and all over the place… they don’t make any sense. Before I jsonified the dataframe (and was repeatedly using the expensive query), they were fine. Any suggestions as to why this is happening/how to fix it would be great. Thanks in advance!