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
TrueJu4 Answers
New Answertotal 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.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message