bernii / gauge.js

100% native and cool looking JavaScript gauge
MIT License
1.42k stars 391 forks source link

Is it possible to draw an outline or border around the arc of the gauge #94

Open ikonikre opened 8 years ago

ikonikre commented 8 years ago

In the attached image, I have been able to (mostly) recreate the design using gauge.js, but I am unable to produce a border, or outline, around the arc of the gauge. The gauge at the top is the object rendered from code, the bottom is a vector from the designer.

Any advice would be appreciated. Thanks.

screen shot 2016-08-20 at 21 58 25

developervj commented 7 years ago

Hi IkonIkre, am looking something showing the starting value and the end value and the percentage in the middle exactly, the pictured that you have arrived by editing the guage.js . Can you share the guage.js to get that effect.

kplindegaard commented 7 years ago

If you want to change the way the gauge is drawn, I recommend you take a look at the render() function on Gauge object. It should be possible to squeeze in the extra draw-functions there to achieve what you want.