Tankōbon / lib/reading-stats / buildBuckets
Function: buildBuckets()
buildBuckets(
stats,period,now?):StatsBucket[]
Defined in: lib/reading-stats.ts:71
The history grouped by month (the last MONTHS_SHOWN) or by year (from the first one with data), oldest first, with empty periods kept as zeros so the charts have no gaps. Dates are read in the local time zone.
Parameters
stats
period
now?
Date = ...