greetclock / angular-gauge-chart

Angular Gauge Chart
https://recogizer.github.io/gauge-chart/examples/samples/
MIT License
61 stars 41 forks source link

fix issue #14 #18

Closed csprea closed 5 years ago

csprea commented 5 years ago

Hi i fixed the issue.

greetclock commented 5 years ago

Thank you so much!

greetclock commented 5 years ago

@csprea the fix is available in angular-gauge-chart@0.5.2

deoraashish commented 2 years ago

Hi team,

I am using 0.7.2 and still facing the issue. At the moment I have circum-navigated this issue by introducing a delay of 1.25 seconds between the api fetching the result and rendering the results.

However, not sure why this is not getting fixed permanently for me. I am getting the following error:

ERROR TypeError: Cannot set properties of undefined (setting 'centralLabel') at t.drawChart (main.976623a2e235b4123d4e.js:1:1482291) at t.ngOnInit (main.976623a2e235b4123d4e.js:1:1481584) at main.976623a2e235b4123d4e.js:1:380721 at main.976623a2e235b4123d4e.js:1:380764 at Ho (main.976623a2e235b4123d4e.js:1:382087) at ha (main.976623a2e235b4123d4e.js:1:388580) at Object.updateDirectives (11.676a246b04968a88821e.js:1:68006) at Object.updateDirectives (main.976623a2e235b4123d4e.js:1:397512) at No (main.976623a2e235b4123d4e.js:1:378668) at Xo (main.976623a2e235b4123d4e.js:1:385605)

ERROR TypeError: Cannot read properties of undefined (reading 'removeGauge') at t.drawChart (main.976623a2e235b4123d4e.js:1:1482252) at t.ngDoCheck (main.976623a2e235b4123d4e.js:1:1482026) at main.976623a2e235b4123d4e.js:1:380750 at main.976623a2e235b4123d4e.js:1:380764 at Ho (main.976623a2e235b4123d4e.js:1:382087) at ha (main.976623a2e235b4123d4e.js:1:388580) at Object.updateDirectives (11.676a246b04968a88821e.js:1:68006) at Object.updateDirectives (main.976623a2e235b4123d4e.js:1:397512) at No (main.976623a2e235b4123d4e.js:1:378668) at Xo (main.976623a2e235b4123d4e.js:1:385605)