Hide/show graph trace with a callback

Hi @sislvacl
I’m not sure how they do it, but does this help you? Extend data