How to show needle to my gauge graph?

as well as it is showing red box message as undefined variable

as per the above result the code is:

1 Like

@ankit.kumar2015a

There is a mistake in the code as suggested by the error pop up in the first post that you had shared.

Your variable name is “light” while in the code you have used “light_data”. Please replace light_data to the variable name ie light and your code should work fine.

1 Like