Dash callback by graph

I have many traces on my graph. When I click to one of them I what it to be presented on another graph. Hence I need to have a callback or a function inside the first graph. Any ideas about how a graph can send a trace number by a click?


Hi @alexyalunin, there is already a feature in plotly that allows you to isolate a trace. You just need to dougble click on the corresponding legend name. The ranges will automatically adapt.

BR, Alex

Hi @alexyalunin,

Could you move this question to the Dash forum category?