show trend chart correctly