angular-svg-round-progressbar
angular-svg-round-progressbar copied to clipboard
how to add text in the middle of the gauge
need to show some progress text in the middle of the circle
look at the sorce code of the provided demo page, then you will see how you can do it :)
that works, but not optimal. it is heavily dependant on your container, and i had to mess up with your function getOverlayStyle() and changing the shift percentages... It would be better to create it as part of the component so it will always be in the middle. or just a param for the text in the middle would be great. thanks!
The getOverlayStyle
is only there so the demo works with the various setups. In a "real" scenario, you can achieve the same with CSS.
I'm also trying to get the text in the middle and cant figure out from the source code on the demo, what needs to be done.
Can you spell it out for at newb? :-)
I couldn't get it how can i add text in the middle?
UPDATE: I've done it throw the source code thanks