clicking on charts should update the correct timeseries.
* calculate totals
* estimate timedelta between successive dates (for detection of broken timeseries)