Added graphing functionality using flot. All past measures/day are plotted when a name is clicked