fix the chart now to graph the last 1000 datapoints