Feature/chart dates from sensor

WIP. I'll ask for a review later.