ngx-gauge icon indicating copy to clipboard operation
ngx-gauge copied to clipboard

Gauge filling is not working

Open Vallikannu-AR opened this issue 5 years ago • 3 comments

  • I created a separate component for this gauge graph. I'm calling this component via a selector in another component and I'm passing the value of the graph via Input "@Input() decorator".

<app-gauge [gauge_value]="gauge_level"></app-gauge>

  • I'm using this selector 8 times in component. Gauge value is passed correctly but the filling inside the arc is not working for a few gauges. Is there any refresh function needed when the component is initiated or reloaded?

Thanks in advance!

Vallikannu-AR avatar Dec 20 '19 06:12 Vallikannu-AR

You could present it in simplified example aqui

fernandocode avatar Jan 06 '20 16:01 fernandocode

@Vallikannu-AR Please share more details by reproducing the issue on stackblitz. Thanks!

ashish-chopra avatar Feb 11 '20 06:02 ashish-chopra

@ashish-chopra I have the same issue, when I update the value dynamically the gauge value gets updated but the gauge bar is not drawn at all. It disappears.

[Update] But this happens only if you messed around with the gauge Value. In my example I had an undefined for the value and after that it set a correct number. Only in this case it happens.

mschuch avatar Aug 14 '20 07:08 mschuch