Hello ,when I am trying to do multiple graphs it showing as an error.Please help me out

here I’m attaching the screenshots of my problem

@rehanasadhikali786 you have used wrong variable in the code. As you have given light name to the A0 pin then you must use the same as the second argument to the plotChart function.
Also correct the time_stamp to time-stamp

So you have to change the line 4 and 8 to:

lineGraph.plotChart(‘time-stamp’,‘light’)

1 Like

you have used wrong variable in the code. As you have given light name to the A0 pin then you must use the same as the second argument to the plotChart function .
Also correct the time_stamp to time-stamp
[/quote]

1 Like