crisbeto / angular-svg-round-progressbar

Angular module that uses SVG to create a circular progressbar
https://crisbeto.github.io/angular-svg-round-progressbar/
MIT License
742 stars 173 forks source link

Error when Max = 0 #130

Closed michel-soares closed 7 years ago

michel-soares commented 7 years ago

Erro in console: Error: attribute d: Expected number, "M NaN NaN A 117.5 …". When Max value is 0 (zero). I need to implement values like 10/0 and round is all completed. When nothing were expected and 10 were found.

In sample page http://crisbeto.github.io/angular-svg-round-progressbar/ put the value 10 and max 0 and console show a lot of errors.

image

michel-soares commented 7 years ago

132

crisbeto commented 7 years ago

Closing as fixed by https://github.com/crisbeto/angular-svg-round-progressbar/pull/132.