patrol icon indicating copy to clipboard operation
patrol copied to clipboard

Improve graphs

Open stefandesu opened this issue 4 years ago • 1 comments

At the moment, the graphs in the web interface don't provide much use due to two reasons, in my opinion:

  1. No timestamps on the X axis (so if there was a spike in latency, for example, it's impossible to find out when exactly it was).
  2. No way to go back further than what is shown.

Ideally, the graphs show the date only at those points where the day switches over, and timestamps everywhere else. On click/tap, you could show a small tooltip with detailed info for that particular data point.

Here's how it currently looks for me:

3F2A881D-CDE0-4842-97CF-57EE91E5AC84

Maybe this is configurable, but I couldn't find out how to do it.

Here's how I imagine it (screengrabbed from an app called "Govee Home" which I have for a smart home device):

https://user-images.githubusercontent.com/3275148/147491211-c73f0262-120e-4dcd-9089-add7ee46b27c.MOV

I really appreciate your project. Thanks for considering my request!

stefandesu avatar Dec 27 '21 16:12 stefandesu

That's a really good idea! I think realistically, I might have to switch to a better charting software than my current one. I don't have a lot of time to work on this project these days, but if you have time to put up a PR, I'd be happy to review it!

karimsa avatar Dec 27 '21 22:12 karimsa