Niko on 28 May, 2019 11:19 AM
The reason it shows a value of 5:01 for the second day, is that the averages are weighted. The further in the past the less weight the values are given.
If there are just two values to calculate the average from, then the weights are “3” for the current day and “1” for the day before.
I am using a weighted average so there are no unexpected “bumps” in the average graph and I think it makes more sense this way.
The app is set top 7-day average.
You have these values: …1,1,1,100,1,1,1...
Then on day 7 after the “100” day, the average graph would suddenly “fall” down to “1” again.
With the weighted average the graph slowly goes down to an average of “1”.
Niko on 31 May, 2019 10:31 AM
In this case I have to use the implementation that is useful to most people. Otherwise the user interface would get cluttered quickly. Also most people wouldn’t know what a weight function is and would get confused.
What I could do is add a hidden option (that appears after hitting a key shortcut), that allows you to enter some kind of weight function.
Niko on 26 Jun, 2019 10:11 AM
I have just released an update to Timelime on the App Store that adds the functionality requested by you:
When you hold down the shift-key while selecting “Line” chart view in the app window, the values used to calculate the averages will all have equal weights (instead of the default using a weight function).