in Ant Design Pro, the items in the legend of Charts.Pie can be clicked, and you can change whether the item is displayed in the pie chart after clicking, which is good, but the items that are not displayed will disappear after the data is updated, although the number of legends in the new data is the same as the original, only the y value has been changed.
this question has been raised in github"s issue: https://github.com/ant-design., but unfortunately it has not been explained or explained for some reason. Does anyone know the solution?
not really, if you can disable the event after the legend is clicked.