Fix trend chart when length=1