canvas-gauges icon indicating copy to clipboard operation
canvas-gauges copied to clipboard

Value Box Position

Open kanedatatsaki opened this issue 4 years ago • 2 comments

It would be awesome to be able to position the value box free inside or outside the gauge area.

kanedatatsaki avatar Feb 22 '21 21:02 kanedatatsaki

A second vote for this one! The gauge on the right would need to value box located above the centre point for example. Thanks!

Noname

allanyates avatar Aug 03 '21 12:08 allanyates

valueBox vertical positioning can be changed by altering the multiplier (0.55 in this example) to a different value ...

function _(e, t, i) { Te.drawValueBox(e, t, i, 0, e.max - 0.55 * e.max, e.max); }

Just search the JS code for Te.drawValueBox

Multiplier: 0.55 temp55

Multiplier: 1.3 temp1_3

webtrekker52 avatar May 22 '23 01:05 webtrekker52