Display Graph for Light Monitoring project

Hi All,

I found that to display graph you need to add additional lines before plotChart() method. See the correct code below:

setChartLibrary(‘google-chart’);
setChartTitle(‘Light Monitoring’);
setChartType(‘lineGraph’);
setAxisName(‘date’,‘intensity’);
plotChart(“time_stamp”,“light”);

Regards,
Ishwar

1 Like