almost done, need to correct summarisation to across days instead of intervals for histogram

Signed-off-by: cderamond <cderamond@gmail.com>