I am trying to draw a circle by given percentage. For example if the value 50 is given I would draw a half circle. I tried it with the first solution from this question.
<Path Fill="Yellow"
Data="M0,0 L0,-100 A100,100 0 0 1 70.7,-70.7 z" />
This didn't work for me and displayed this in the designer:
How could I modify the first solution or are there any better solutions to draw a sector of a circle for my case?