add dots along line