Simple pie chart progress bar in canvas element