projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e1c55
)
Fix for issue 274: broken step plots
author
wimme
<wim@wimme.net>
Fri, 17 Feb 2012 10:52:40 +0000
(11:52 +0100)
committer
wimme
<wim@wimme.net>
Fri, 17 Feb 2012 10:52:40 +0000
(11:52 +0100)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
9b2be25
..
9c2e4da
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-875,6
+875,7
@@
DygraphCanvasRenderer.prototype._renderLineChart = function() {
ctx.lineWidth = strokeWidth;
if (stepPlot) {
this._dashedLine(ctx, prevX, prevY, point.canvasx, prevY, strokePattern);
+ prevX = point.canvasx;
}
this._dashedLine(ctx, prevX, prevY, point.canvasx, point.canvasy, strokePattern);
prevX = point.canvasx;