JonFreer / WMCycleData

https://wmcycledata.com/
0 stars 1 forks source link

Zero out graph data #46

Open JonFreer opened 1 year ago

JonFreer commented 1 year ago

Currently, if an hour has a count of zero the line chart just connects the last two non-zero values.

JonFreer commented 7 months ago

This has been addressed by returning zero values from the API. This is intensive as it sends surplus data but also now front pads the data with zeros. Maybe it is best to do it client side.

JonFreer commented 1 week ago

Using bucket_gap_fill, but have to set a start point. As the start point needs to be calculated with a sperate request it is not the most efficient.