Fixed the issue that was causing the end of the chart to look all screwy