Radial progress | Sololearn: Learn to code for FREE!


Radial progress

Sololearn has this one progress that looks like a circle and is divided into 5 skills and then the percentage text inside each part of the circle. if you dont know what i mean just look at the bottom of you profile :) now my question: how can I create the exact same with the code ive already wrote here: https://code.sololearn.com/WcUGgXylTCz3/?ref=app https://code.sololearn.com/WEAUbIACkTeG/?ref=app

3/8/2018 8:07:36 PM


4 Answers

New Answer


yeah i got it but can you change my code so it is correct? i couldnt do it


total angle = 360 degrees Angle for one cake-piece: (Number of it/Total of all numbers)*360 Example: You have a piece with 5 and two with 2.5. Biggest piece: 5/10 * 360 = 180 degrees Got it?


Lemme see... EDIT: I don't have enough time rn. Will look tomorrow if I can do something for 'ya.


ok thank you