Gauge data not found

I had collected few data using LDR. It is showing in normal code like plotChart(‘time_stamp’, ‘light’). But when I used the gauge chart code exactly like that it is showing no data collected. below attached is the screenshot.

@nikhildaison

Please follow the below format to write the code -

setChartLibrary('google-chart');
setChartTitle('Gauge Chart');
setChartType('gauge'); 
setAxisName('axis_name'); 
setDimensions(400,400);
setMaxValue(1023);
setYellow(501,725);
setRed(726,1023);
setGreen(250,500);
plotChart('your_variable_name');

For more information on this, visit - https://docs.boltiot.com/docs/gauge

Hi @nikhildaison,
since you changed the code, the data collected might be deleted. Please collect the data again and let me know if it works. Also,share your code.

I will try it out thankyou

I will check it out again thanks

1 Like

I think you chose one year of duration whereas in the tutorial they took 1 minute. Also, you can try with live option as the gauge works at a particular instance.