projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f71e2b
)
all tests pass!!!!
author
Dan Vanderkam
<dan@dygraphs.com>
Mon, 8 Aug 2011 02:03:27 +0000
(22:03 -0400)
committer
Dan Vanderkam
<dan@dygraphs.com>
Mon, 8 Aug 2011 02:03:27 +0000
(22:03 -0400)
dygraph-tickers.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-tickers.js
b/dygraph-tickers.js
index
b76d0d1
..
81d7ce8
100644
(file)
--- a/
dygraph-tickers.js
+++ b/
dygraph-tickers.js
@@
-200,7
+200,8
@@
Dygraph.newDateTicker = function(a, b, pixels, opts, dygraph, vals) {
if (chosen >= 0) {
return Dygraph.newGetDateAxis(a, b, chosen, opts);
} else {
- // TODO(danvk): signal error.
+ // this can happen if self.width_ is zero.
+ return [];
}
};