Hi Ajit,
As per my answer on the following question,
https://forum.mendix.com/link/questions/102161
Legends are getting displayed based on the attribute we use for Name in widget properties
So you can change that value to return like below based on your requirement
Completed -1
You can acheive this by updating the pie chart objects value like below
The output will look like this
I hope this helps you