I have been unable to work out a solution for this. The only thing I can think of is to draw the dots first and then have separate lines in between. Or you could lay the dots on again after the line is drawn, but this does not look too great.