-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Gauge gets drawn incorrectly when a minimum is set #536
Comments
As an addendum, it appears to be a bug as a positive minimum and a negative minimum both do the same thing. Somehow it appears to be taking the absolute value of the minimum, applying a negative sign to it, and setting that as a minimum. Works fine for negative minimums, doesn't work correctly for positive minimums |
something in this code I believe
}; |
this works correctly for POSITIVE values of gMin
|
Hi, Thank you for your reporting. You're right and it's a bug. And I think it has been fixed by the commit above like this fiddle: http://jsfiddle.net/7kYJu/308/ |
It's been released in v0.4.0, so please let me close. |
See this JSFiddle
http://jsfiddle.net/8o4mqjf4/
When a positive minimum value is set that is greater than 0, the gauge gets drawn in the middle of the arc, rather than using the minimum. ie; on a gauge set from 50-100. the only way to get the guage to start at the far left is to pass in a negative value.
The text was updated successfully, but these errors were encountered: