Changed layout of the graphs, it now prints the last values in the legend instead of the average of the time period it is processing.