projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5daaaf
)
Add var declaration to prevent breaking stacked graphs.
author
Robert Konigsberg
<konigsberg@google.com>
Wed, 21 Dec 2011 18:45:22 +0000
(13:45 -0500)
committer
Robert Konigsberg
<konigsberg@google.com>
Wed, 21 Dec 2011 18:45:22 +0000
(13:45 -0500)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
77d8cc4
..
b184717
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-743,7
+743,7
@@
DygraphCanvasRenderer.prototype._renderLineChart = function() {
}
var newYs;
if (stackedGraph) {
- lastY = baseline[point.canvasx];
+
var
lastY = baseline[point.canvasx];
if (lastY === undefined) lastY = axisY;
baseline[point.canvasx] = point.canvasy;
newYs = [ point.canvasy, lastY ];