gauge.js
gauge.js copied to clipboard
Start and Max Values added to the output
I love this widget, and we are trying to integrate into our website, but we need a way to show the start and max values that the gauge is set to.
So simply added them inside spans and absolutely positioned them. But now I have a problem. The gauge uses the canvas tag, so it shrinks and grows with different device pixel ratios, and now my start and max values are not in the correct positions. So I have to write a ton of extra media queries to figure out dppx and resolution and blah blah blah.
It would be nice if the values were just added to the output.