bootsoon / ng-circle-progress

A simple circle progress component created for Angular based on SVG Graphics.
https://bootsoon.github.io/ng-circle-progress/
MIT License
250 stars 85 forks source link

When stroke width is 5, then 95% actually covers/fills the full circle instead it should fill 95% of the circle. #160

Closed christyfernandes closed 2 years ago

christyfernandes commented 3 years ago

@jlbates @ruisebastiao @arturovt @bootsoon

Please help me to fix this issue.

christyfernandes commented 3 years ago

Found a workaround for now

"outerStrokeLinecap": "butt"

This fills the circle inner stroke precisely to the percentage value up to 99% as expected.

bootsoon commented 2 years ago

https://github.com/bootsoon/ng-circle-progress/blob/468251c36223b7bde9a7642e0646023e31192ce4/projects/ng-circle-progress/src/lib/ng-circle-progress.component.ts#L124-L131