Skip to content

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

Open
tuckdesign wants to merge 2 commits into
bernii:gh-pagesfrom
tuckdesign:gh-pages
Open

Allow user to have first and last labels rendered horizontally#165
tuckdesign wants to merge 2 commits into
bernii:gh-pagesfrom
tuckdesign:gh-pages

Conversation

@tuckdesign

Copy link
Copy Markdown

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
Comment thread dist/gauge.js
if (!__hasProp.call(obj2, key)) continue;
val = obj2[key];
out[key] = val;
}

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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