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

Allow user to have first and last labels rendered horizontally #165

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

tuckdesign
Copy link

Implemented possibility in static labels that user can render first and last label horizontally if angle = 0 and staticLabels.firstLastHorizontal = true
http://prntscr.com/iakvzh
I found this very useful in some gauges that I needed, so, sharing this with others.

…nd last label horizontally if angle = 0 and staticLabels.firstLastHorizontal = true
val = obj1[key];
out[key] = val;
}
for (key in obj2) {
if (!hasProp.call(obj2, key)) continue;
if (!__hasProp.call(obj2, key)) continue;
val = obj2[key];
out[key] = val;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello , excuse how we can integrate the formaNumber in gauge.js ? to help me show % with the value thank you

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not really gauge developer, I just made pull request with changes I made for myself. I can check about formatNumber when I get the time.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you very much me too am not really gauge developer but i need juste example how i can put the function gauge.js . thank you a lot

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