beginning resamplings with 0 for better graphing

This commit is contained in:
Andy Pack 2022-10-01 23:04:52 +01:00
parent 5084f2bd07
commit c412c25fca
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -26,6 +26,12 @@ namespace Selector
var earliest = sortedScrobbles.First().Timestamp;
var latest = sortedScrobbles.Last().Timestamp;
yield return new CountSample()
{
TimeStamp = earliest - (window / 2),
Value = 0
};
var enumeratorExhausted = false;
for (var windowStart = earliest; windowStart <= latest; windowStart += window)