Fix history chart when there is only 1 data point.