Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

Persistence of graph data
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Persistence of graph data

by simos_iot on Fri Jul 10, 2020 8:04 pm

Not sure if I have the Graph setup correctly but I notice that when I refresh the browser, the graph data restarts from the current time. Same thing appears to happen if you change the timescale. In some cases where multiple feeds are visualised on the one graph, the data from the first feed selected persists whilst the others restart...most annoying. We are able to push the same data to Thingsboard and graph data persists. All the data is still visible in the feed itself.

I have tried using just the Raw Data setting, but this does not help with what we want to achieve.

Any assistance appreciated.

simos_iot
 
Posts: 6
Joined: Sun Mar 17, 2019 1:50 am

Re: Persistence of graph data

by brubell on Mon Jul 13, 2020 10:31 am

Hi Simos, could you provide some screenshots of this? Thanks!

brubell
 
Posts: 988
Joined: Fri Jul 17, 2015 10:33 pm

Re: Persistence of graph data

by simos_iot on Mon Jul 13, 2020 7:23 pm

In Screenshot3, I allowed the browser to update the data. I then simply refreshed the browser, and the data reset as per Screenshot4. You can see the timescale has changed between the two screenshots. This same effect is observed if you make a change to the dashboard settings such as change the time scale from say 8 hours to 12 hours etc.

I'm not sure if the graph has always done this or there is a setting that I have neglected to change but I don't seem to remember it doing this when I started looking at io.adafruit many months ago.
Attachments
Screenshot3.JPG
Short run of data
Screenshot3.JPG (20.67 KiB) Viewed 14 times
Screenshot4.JPG
After refreshing browser
Screenshot4.JPG (20.54 KiB) Viewed 14 times

simos_iot
 
Posts: 6
Joined: Sun Mar 17, 2019 1:50 am

Re: Persistence of graph data

by simos_iot on Tue Jul 14, 2020 4:09 am

Here's another example this afternoon. Screenshot5 is after running for approximately 10 hours uninterrupted. It was initially set to a timeframe of 24 hours. Screenshot6 was then taken after I changed the timeframe to 8 hours. One of the values is persistent, the others restart.
Attachments
Screenshot5.JPG
Screenshot5.JPG (24.72 KiB) Viewed 13 times
Screenshot6.JPG
Screenshot6.JPG (20.6 KiB) Viewed 13 times

simos_iot
 
Posts: 6
Joined: Sun Mar 17, 2019 1:50 am

Please be positive and constructive with your questions and comments.