I have a simple dashboard with a graph and a data table.
The graph has around 50 traces, the table has the same number of rows (each row corresponds to a single trace). I use the
selected_rows property of the data table to determine which traces are plotted (selected rows) and which are not (unselected rows).
The setup works ok. My callback function redraws the whole graph anytime a new row is (un)selected. I wonder if it would be possible to draw the graph only once with all 50 traces and then use a callback to show/hide the traces instead of redrawing the whole graph all the time.
The motivation is performance optimization.
Thanks for help!