Skip to main content
Participating Frequently
Jan 10, 2023 7:36 AM UTC
Solved

Local variable not picked by the gauge component

Hi all.. Can you tell me what's wrong with this expression? Why is the percentage not picked by the gauge component?

konduruc733182
Inspiring
Jan 10, 2023 8:30 AM UTC

Hello tarunb0231,

My guess is you have not refreshed the local variable value. Try clicking on test. 

Your code is working fine for me.

2 replies

konduruc733182
Inspiring
Jan 10, 2023 8:30 AM UTC

Hello tarunb0231,

My guess is you have not refreshed the local variable value. Try clicking on test. 

Your code is working fine for me.

Participating Frequently
Jan 10, 2023 8:34 AM UTC

Ah my bad. You are right Chaitanya. Changing local variables required me to click Test button to reflect the values in preview whereas changing components reflected directly in the preview. Thanks!