Bug fixes.
* fix POST to /graph not working due to functional renaming.
* fix the calculation for 24-hour-mean :
  not mean(data[:-24]), but mean(data[-24:])