projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix problems with multiple null values in a row for stepped graphs.
[dygraphs.git]
/
dygraph-canvas.js
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
3988b19
..
d5c812e
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-616,7
+616,7
@@
DygraphCanvasRenderer.prototype._renderLineChart = function() {
var point = points[j];
if (point.name == setName) {
if (!isOK(point.canvasy)) {
- if (stepPlot) {
+ if (stepPlot
&& prevX != null
) {
// Draw a horizontal line to the start of the missing data
ctx.beginPath();
ctx.strokeStyle = color;