Here's a repro: http://jsfiddle.net/bt3fdkkg/
EXPECTED:
No points are drawn
ACTUAL:
A point is drawn
new Dygraph(
document.getElementById("demodiv"),
[[0, 0],
[1, 1],
[2, 2],
[3, 3],
[4, 4],
[5, 5]],
{drawGapEdgePoints: true,
pointSize: 5,
axes: { y: { drawAxis: false } }});
It happens when the first point is at canvasx of 0 and drawGapEdgePoints is enabled.
I have a fix.