I like very much this circular meters/gauges which you can see almost every where…
I would very much like to have something like this in Ignition.
I was trying to do something with the canvas, but I’m not java ‘person’ and it’s a ‘little’ too much for me.
You can add a timer object to the template with a small delay, and create an intermediate “actual” value. If the actual value is different from the requested value, start the timer to go towards the requested value.
I quickly added such an animation timer to the dial, and it works pretty fine: per 100ms, there’s a jump of 1%,
Thank you for your effort…
This is what I’ve done with paintable canvas. Everything is working and looking good.
But I can’t figure it out, how to implement animation like you did… circularGauge2 (2017-07-16).proj (57.1 KB)
HA, when I was taking my beauty nap after lunch, it came to me…
Thank you @Sanderd17 for stimulating my brain cells.
This is what I did: circularGauge3 (2017-07-16).proj (89.1 KB)
(I’m using tags generic simulator device for testing).
I make some modern good looking slider with mouseDragged event. Do you think is it possible to make this circular gauge to circular slider like the ones in the web?
adding a shape as handlers on on your gauge and use mouseDragged event to change value of gauge and position of shape handler. The only problem is how fix user movement on the circular line?
Hi @zxcslo,
I was looking for something just like this, so thanks!
One question though, I have some values that alternate between -10 and 10. I tried modifying your templates to account for negative numbers and it doesn't seem to behave well, the point of "zero" seems fixed. I'm not great at scripting, any chance you could point me in the right direction to fix that? or is it impossible?