SamAmco / track-and-graph

An android app for tracking personal data and creating custom graphs
GNU General Public License v3.0
438 stars 40 forks source link

glitch with data from the future #224

Closed sphuo5g closed 4 months ago

sphuo5g commented 1 year ago

I have a (computer-generated) tracker showing me my target (which is different every day), and another tracker showing my actual data. Now my target values are generated a year in advance. With a graph set to "Sample size: six months" and "Sample ending at: latest", this results in a split graph with six months of my target values starting six months from now on the right, and six months of my actual values on the left; so the graph actually shows a period of 18 months with a gap of no data at all even though the data exists. I’m guessing a similar bug would occur with simply not tracking anything in a tracker for a few days.

I’d expect it to use the same cut-off date for all trackers in a graph.

SamAmco commented 1 year ago

It should use the same cut-off date for all data in the graph you are correct. I will try and look into this at some point. Thanks for letting me know.

SamAmco commented 4 months ago

Looks like i fixed this a while back and forgot to close the issue. Let me know if you're still having troubles and i can re-open it.