implemented hour-aggregated view of line graph