I fixed this in https://github.com/klausw-g/dygraphs/commit/4f47af82ac297d27dc0ac9d5c6fd256e00cccec5 - assertLineDrawn was calling the .match method wrong for its priorFound == 2 branch. Not sure what was going on there.