animation duration fix, refactoring, configurable line width and pie mode

animation duration was not working properly, it’s fixed
added line width property for progress line
pie mode property