ensure x-axis goes to end of data