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

Gauge2 now works with any anglerange, min, and max #132

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

Maier-Jake
Copy link
Contributor

Currently, trying to use gauge2 with minimum values of nonzero severely impact the barlength improperly (despite the needle working fine). Additionally, angle ranges often were miscalculated when drawing the gauge fill, with a gradient stroke.

These adjustments have allowed me to create 90*, 180*, 270*, and 360* Gauge2 tiles with any minimum & maximum values.

(One request I would make, would be if you do a full 360* Gauge2 tile, that the text display of the value is dropped a bit, to be underneath the circle, rather than superimposed over it. This pull request does not have that functionality.)

@HanSolo HanSolo merged commit 3ee4cb3 into HanSolo:master Mar 23, 2022
HanSolo added a commit that referenced this pull request Mar 23, 2022
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

Successfully merging this pull request may close these issues.

2 participants