bernii / gauge.js

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

Aligning tricks with numbers #253

Open philiprbrenan opened 2 years ago

philiprbrenan commented 2 years ago

image

I have requested 10 ticks on a range from 0 to 100:

 renderTicks: {
   divisions: 10,

in the gauge above but they do not seem to align with the numbers.

Please tell me how I can get ticks that align with the numbers?

Source code: gauge.zip