1.0.2 • Published 7 months ago

angular-circular-progressbar-with-handler v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

Angular Circular Progressbar With Handler

alt text

Just install it and call the module then use the component

<angular-circular-progressbar
[percentage]="30"
[radius]="58"
[bgStrokeColor]="'#EAEAEA'"
[bgStrokeFill]="'transparent'"
[bgStrokeWidth]="5"
[progressStrokeColor]="'#3F8DFC'"
[progressStrokeFill]="'transparent'"
[progressStrokeWidth]="5"
[fontFamily]="'arial'"
[fontSize]="28"
[fontWeight]="700"
[textColor]="'#3F8DFC'"
[handleBorderColor]="'transparent'"
[handleFillColor]="'#3F8DFC'"
[handleRadius]="8"
[clockWise]="true"
[strokeLinecap]="'round'"
[reversedText]="false"
[mutedFontFamily]="'arial'"
[mutedFontSize]="12"
[mutedFontWeight]="400"
[mutedText]="'alt text'"
[mutedTextColor]="'#ccc'"
[defaultShadow]="true"
> </angular-circular-progressbar>

It's already compatible with SSR

for more Info Angular Circular Progressbar With Handler

Input.TypeDescription
percentagenumberthe percentage from 100 and zero by defaul
radiusnumberthe radius the circules and required
widthanyif you want specific width for svg or by default it will be (radius x 2.3)
fontSizenumberfont size of the percentage
fontFamilystringfont family for percentage
fontWeightnumberfont weight for percentage
textColorstringtext color of percentage
bgStrokeColorstringbackground circle background color
bgStrokeFillstringbackground circle stroke fill type (color or transparent) it should be transparent
bgStrokeWidthnumberbackground circle stroke width
progressStrokeColorstringprogress circle background color
progressStrokeFillstringprogress circle stroke fill type (color or transparent) it should be transparent
progressStrokeWidthnumberprogress circle stroke width
handleRadiusnumberhandler circle radius
handleBorderWidthnumberhandler circle stroke width incase you want it
handleBorderColorstringhandler circle stroke color
handleFillColorstringhandler circle fill color
mutedTextstringalternative text content
mutedFontFamilystringalternative text font family
mutedTextColorstringalternative text color
mutedFontSizenumberalternative text font size
mutedFontWeightnumberalternative text font weight
strokeLinecapstringprogress circle stroke type ( butt , round , square )
filterValuestringincase you want to add a filter for handler
clockWisebooleanthe direction of the progress bar
reversedTextbooleanchange text direction for percentage
defaultShadowbooleanif true it will show a default shadow on handler
responsivebooleanif true it will multiple every number entered by 0.8 if the width is smaller that 1600px

Created with love by Shady Noor shadynoor9@gmail.com

If you can improve it just pull it and do push a PR