@meghameghana2103 sometimes it happens due to some problem with the code. As I can see, you have declared the variable name as ldrip and written “light” in the plotChart function.
Kindly change plotChart("time_stamp","light")
to plotChart("time_stamp","ldrip")
and let me know if it works.