Graphs rendering issue with irregular time stamps in dashboard

vahegan

Active Member
View Badges
Joined
Sep 9, 2019
Messages
193
Reaction score
148
Rating - 0%
0   0   0
Hi everyone,
I am new to Reef Pi, using the RoboTank board with RPi Zero, and have been playing with the setup for a few days now. One thing I have notices, is that the data graphs in the dashboard gets corrupted, with time stamps on the horizontal scale sorted irregularly. See the two screenshots of the same graph:

Screen Shot 2022-06-19 at 12.01.27.png


Screen Shot 2022-06-19 at 12.01.55.png


If you look at the cursor time stamp, you can see that the data point at 10:12 hours on June 19 (on the first screenshot) comes before the data point with time stamp at 06:51 hours (the second screenshot). This results in a "jagged" graph line, as the newer data points are interleaved with older data.

This is fixed when I go to Configuration - Admin - Reload:

Screen Shot 2022-06-19 at 12.07.54.png


However, any new points after this are again appended not in the end of the graph, but somewhere in the middle and the graph becomes "jagged" again.

I am using the PH graph for demonstration, but I am seeing the same corruption on the temperature graphs too. I assume it is there for all the graphs.

Has anyone else faced this behavior before? I am seeing the same corruption on different devices/browsers, therefore I am assuming this is not a browser interpretation glitch but something on the Reed Pi side. I tried rebooting, power cycling the controller, even updated Reef Pi from 4.3 to 5.2 but this behavior is persistent.

Please help me in figuring out how to fix this issue.
 
Hi @Ranjib , maybe you can help to figure out what is going on?
Currently, I am having to go to admin and reload every time I want to check the dashboard...
 
Hi @Ranjib , maybe you can help to figure out what is going on?
Currently, I am having to go to admin and reload every time I want to check the dashboard...
this is an ui issue, where we have to update the code to sort the data points by time. Its not something wrong with your setup. I think you have already submitted a bug report, i'll take a look. This does not have any impact on actual controller behavior
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top