viewer: Rewrite to use controls package. Use Column chart for daily.
viewer: Flush db only before populating data.