canvas-gauges
canvas-gauges copied to clipboard
Gauge randomly starts spinning after running for 10-20min
I am encountering an issue where my gauges run great for a short period of time, I am using a radial gauge to show current RPM, which is retrieved from pulling engine data via GET request.
After about 20min, my gauge randomly starts spinning in circles, not just the needle, but the entire gauge object. I am extremely stumped on why this could be happening.
Anyone else encounter this?
yes i have the same issue
on ipad
me too. using 2.1.7 and it gets frozen after 5 minutes and 32 seconds 1 second update. I'm using a radial gauge.
您的邮件我已收到,谢谢!
Same issue here on Safari based browsers (Desktop and iOS). Doesn't appear to be happening on Chrome or Firefox for me.
您的邮件我已收到,谢谢!
Use version 1 if you just need radial . It's rock solid and not much different.
您的邮件我已收到,谢谢!
This happened for me on iPad. I think the reason might be reaching the stack limit on CanvasRenderingContext2D.save
. There is a leak somewhere not cleaning those up. Not sure where exactly.
In my case I observe the render ticks on "render" event.
I just call redraw
after a certain limit.
The limit depends on your specific usage. For me it was after ~450 ticks.