Better chart support

Added calculated readings for last week.
Fixed display of chart values on bars.