projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c742293
)
Can't include points on the log scale when the values are zero. How was this missed?
author
Robert Konigsberg
<konigsberg@google.com>
Fri, 4 Feb 2011 23:09:02 +0000
(18:09 -0500)
committer
Robert Konigsberg
<konigsberg@google.com>
Fri, 4 Feb 2011 23:09:02 +0000
(18:09 -0500)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
e340a7b
..
4a1cef2
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-2249,7
+2249,7
@@
Dygraph.prototype.drawGraph_ = function() {
// On the log scale, points less than zero do not exist.
// This will create a gap in the chart. Note that this ignores
// connectSeparatedPoints.
// On the log scale, points less than zero do not exist.
// This will create a gap in the chart. Note that this ignores
// connectSeparatedPoints.
- if (point < 0) {
+ if (point <
=
0) {
point = null;
}
series.push([date, point]);
point = null;
}
series.push([date, point]);