Updated graph rendering to only show the last days worth of data