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

Angle incorrect for initialValue when full circle #94

Open
SalvaBurrezo opened this issue Mar 22, 2023 · 0 comments
Open

Angle incorrect for initialValue when full circle #94

SalvaBurrezo opened this issue Mar 22, 2023 · 0 comments

Comments

@SalvaBurrezo
Copy link

SalvaBurrezo commented Mar 22, 2023

First of all, congratulations for this great widget
I'm using it with an angleRange of 360, no interaction, I just want to represent a percentage in a circle. I have always used it as a semicircle and have never had a problem

It is easier to explain with an example: for a value of 10 a more or less correct angle is represented, but for one of 90 it is not, since the remaining area (10) is much smaller than when I represent 10 directly.

In next image, left circle represent initialValue of 10 (green), and in the right one, initialValue is 90 (blue). You can see that the remain area in right image must be like the left image
In both angleRange is 360, max 100 and min 0

image

I have experience with the package, and I have reviewed the parameters, but I can't understand the problem

can you help me please?

thank you so much
best regards

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

1 participant