Radial progress | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

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

8th Mar 2018, 8:07 PM
TrueJu
TrueJu - avatar
4 Answers
+ 2
yeah i got it but can you change my code so it is correct? i couldnt do it
8th Mar 2018, 9:55 PM
TrueJu
TrueJu - avatar
+ 1
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?
8th Mar 2018, 9:54 PM
D B
D B - avatar
+ 1
Lemme see... EDIT: I don't have enough time rn. Will look tomorrow if I can do something for 'ya.
8th Mar 2018, 9:56 PM
D B
D B - avatar
+ 1
ok thank you
8th Mar 2018, 10:02 PM
TrueJu
TrueJu - avatar