Open phoenix1589 opened 1 year ago
Are you positive the data is actually being showed in the wrong order? I've checked my code and it looks like I'm actually just using the wrong value to generate the timestamp (but the data is actually the same). I'll push a fix for this quickly if this is the case. I'm also looking into having the graph scale better.
Thanks for looking at this. Changing the time window duration does change the current value and based on the timestamp in the map I was presuming it was to the data at that time.
I've found a link which has significantly different usage this time yesterday and you are correct, the data shown is the end time of the window. There does seem to be a little deviation if I change between from: now-<x> to:now
and from: now-<y> to:now
e.g.
however changing back and forth quickly doesn't always result in a different value shown - so maybe I'm actually catching the <from>
time (sorry).
Describe the problem The tooltip graph for the link scales to the maximum bandwidth of the link, rather than the maximum bandwidth used over the time period. For links with low utilization, no detail can be ascertained.
Also, the tooltip graph time range is of the time period set in the dashboard (fine) however the data points taken to create the weathermap itself is from the start time. If I want the tooltip graph to show the last 24 hours then the weathermaps themselves show data from yesterday - rather than.
To Reproduce Steps to reproduce the behavior (if possible):
Expected behavior The tooltip graph should scale to the max bandwidth observed during the time window selected (as a regular time series graph does).
The weathermap link bandwidth/colour scale should be based on the last value in the time range, rather than the first.
Screenshots![image](https://user-images.githubusercontent.com/89544814/225351638-9860e85f-6ce7-47d0-96b1-3ef36349cc58.png)
For the last 6 hours to get a tooltip range that has some context, (it's currently 14:48), the weathermap itself is showing data from 08:48 this morning.
VERSIONS! (please complete the following information):
Additional context Add any other context about the problem here.