projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a2555
)
include 0 in series data
author
Adam Bozanich
<adam.boz@gmail.com>
Wed, 21 Apr 2010 09:08:40 +0000
(
02:08
-0700)
committer
Adam Bozanich
<adam.boz@gmail.com>
Wed, 21 Apr 2010 09:08:40 +0000
(
02:08
-0700)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
dc4ff2b
..
a9b14ab
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-1523,7
+1523,7
@@
Dygraph.prototype.drawGraph_ = function(data) {
var series = [];
for (var j = 0; j < data.length; j++) {
- if (data[j][i] || !connectSeparatedPoints) {
+ if (data[j][i]
!== undefined
|| !connectSeparatedPoints) {
var date = data[j][0];
series.push([date, data[j][i]]);
}