im using legend groups in a graph to organize my traces. What I would love to do is toggle the visibility of the entire group if I click on the group title and just a single trace if I click on a trace.
From what I could find out so far, only the second part is possible using
Unfortunately, I seem to be doing something wrong here, as this has no effect. The property gets set in my graph, but when I click an item, the whole group still gets toggled.
Does anyone have an idea what I’m doing wrong?