Fixed. (I actually implemented this in dygraph-canvas.js first, and copied the style from the surrounding code.)