graphing the last data instead of the first