ngx-gauge
ngx-gauge copied to clipboard
Gauge filling is not working
- 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!
You could present it in simplified example aqui
@Vallikannu-AR Please share more details by reproducing the issue on stackblitz. Thanks!
@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.