Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startAngle at top of circle #191

Open
UA-Niel opened this issue Oct 16, 2018 · 4 comments
Open

startAngle at top of circle #191

UA-Niel opened this issue Oct 16, 2018 · 4 comments

Comments

@UA-Niel
Copy link

UA-Niel commented Oct 16, 2018

startAngle seems bugged. How do I make the animation start at the top of the circle???

@anshulbisht06
Copy link

anshulbisht06 commented Nov 29, 2018

Use option : { startAngle: -Math.PI/2 }

@mohamed-montaser1
Copy link

startAngle seems bugged. How do I make the animation start at the bottom of the circle???

@anshulbisht06
Copy link

@MohamedMontaser1 actually I have moved on from this library. You can create an issue for this.

@wasek23
Copy link

wasek23 commented Aug 30, 2023

You can calculate the angle with this. Just enter the degree in this formula.

Math.PI * ((degree / 360) * 2 - 0.5)

0 ° will start from the top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants