From 79e5f5f073b0550de7cac10c0a3c31c2054832f2 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Sun, 7 Aug 2011 22:03:27 -0400 Subject: [PATCH] all tests pass!!!! --- dygraph-tickers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dygraph-tickers.js b/dygraph-tickers.js index b76d0d1..81d7ce8 100644 --- 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 []; } }; -- 2.7.4