Skip to content

Add formatted value label to gauge via new value options.#196

Open
dhunt84971 wants to merge 2 commits into
bernii:gh-pagesfrom
dhunt84971:feature/value-options
Open

Add formatted value label to gauge via new value options.#196
dhunt84971 wants to merge 2 commits into
bernii:gh-pagesfrom
dhunt84971:feature/value-options

Conversation

@dhunt84971
Copy link
Copy Markdown

Options includes value with properties for displaying the value in the gauge using options specified including font, right, down, decimals, color and units.

This was added because using absolute position does not work well for placing text over the gauge.

Note: gauge.min.js has not been modified.

@dhunt84971
Copy link
Copy Markdown
Author

I just realized the this.ctx.globalCompositeOperation='destination-over'; that was added causes other issues. This needs to be removed.

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.

1 participant