We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See the error in this fiddle
Due to the this.canvas.customAttributes.pki path parameter formulas being wrong:
this.canvas.customAttributes.pki
Cx = w / 2 + dx, Cy = h / 1.25 + dy, Xo = w / 2 + dx + Ro * Math.cos(alpha), Yo = h - (h - Cy) + dy - Ro * Math.sin(alpha), Xi = w / 2 + dx + Ri * Math.cos(alpha), Yi = h - (h - Cy) + dy - Ri * Math.sin(alpha),
should be
Cx = w / 2 + dx, Cy = h / 1.25 + dy, Xo = Cx + Ro * Math.cos(alpha), Yo = Cy - Ro * Math.sin(alpha), Xi = Cx + Ri * Math.cos(alpha), Yi = Cy - Ri * Math.sin(alpha),
because
h - (h - Cy)
Cy
h / 1.25 + dy
+ dy
Cx = w / 2 + dx
I have not checked if this works for donut gauges.
The text was updated successfully, but these errors were encountered:
Updated some libraries in hopes of fixing render bug
423442b
I confirm this issue. Gage looks weird when width is too small.
Sorry, something went wrong.
Thanks, I've updated code with your formula :)
No branches or pull requests
See the error in this fiddle
Due to the
this.canvas.customAttributes.pki
path parameter formulas being wrong:should be
because
h - (h - Cy)
equalsCy
Cy
is defined ash / 1.25 + dy
, which contains the+ dy
already --> this causes the errorCx = w / 2 + dx
is also already defined.I have not checked if this works for donut gauges.
The text was updated successfully, but these errors were encountered: