restyleData doesn't trigger the legend selected with Pie charts

Hello :),

I’m trying to catch the legend selection in a pie chart and this return me None.
I tried to do to the same with the legend of a scatter plot and it was ok .

Here is what I tried :

def getSelectedLegend(selected):
       raise PreventUpdate

Anyone can help me ?

Hi Josiias. I’m having the same problem. Did you solve it?

I encountered this problem as well. I’ve just created a feature request for it in the following thread: