Modified graph to only use the last 10 entries if there are more than 10 entries.