angular-gauge-chart
angular-gauge-chart copied to clipboard
getting issue when value is read from api
getting issue "updateNeedle" of undefined while reading values from api need to give setTimeout in "angular-gauge-chart.js" to updateneedle value but this should work without using setTimeout.
Hi @veersagar,
seems like in your case the method updateNeedle
is applied to the gaugeChart
object before it has been initialized. I never faced this issue before and it's very hard to debug it based only on your report. It would be amazing if you could use some online testing environment like Plunker to reproduce the bug and post the link here.