X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-canvas.js;h=11affc22e426a9eaa64a5b7bcc465f821fc47253;hb=68f9bed30349ea126921490f2631dc30a404d092;hp=58e6917cc6aecc90f03ecad67f3ff6128fcc1a31;hpb=f8cfec734263f9eea52dd0a5c01bdf642ebc12b8;p=dygraphs.git diff --git a/dygraph-canvas.js b/dygraph-canvas.js index 58e6917..11affc2 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -537,7 +537,8 @@ DygraphCanvasRenderer.prototype._renderLineChart = function() { if (drawPoints || isIsolated) { ctx.beginPath(); ctx.fillStyle = color; - ctx.arc(point.canvasx, point.canvasy, pointSize, 0, 360, false); + ctx.arc(point.canvasx, point.canvasy, pointSize, + 0, 2 * Math.PI, false); ctx.fill(); } }