draw timestamps, gridlines and names