In Ant Design Pro, after the legend of Charts.Pie is disabled, the disabled legend disappears after updating the data. How to keep the number of legends unchanged?

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.

Jan.12,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f1bc-34832.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f1bc-34832.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?