Create a dynamic material and use SetScalarValue to set the Fill
Create a MaterialParameterCollection and use a value from here for the Fill
You can also have a look at UI MATERIAL LAB on the market place. You can create that part of a circle with a combination of a pie chart and a angle / square gradient