From: Dan Vanderkam Date: Mon, 14 Dec 2009 08:14:16 +0000 (-0800) Subject: fix bug X-Git-Tag: v1.0.0~791 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;ds=inline;h=805d55196515dc5ffd4f8e3ba311cebd4be8d436;p=dygraphs.git fix bug --- diff --git a/dygraph.js b/dygraph.js index 0ff8bf1..23714d1 100644 --- a/dygraph.js +++ b/dygraph.js @@ -901,7 +901,7 @@ Dygraph.SHORT_SPACINGS[Dygraph.MINUTELY] = 1000 * 60; Dygraph.SHORT_SPACINGS[Dygraph.TEN_MINUTELY] = 1000 * 60 * 10; Dygraph.SHORT_SPACINGS[Dygraph.THIRTY_MINUTELY] = 1000 * 60 * 30; Dygraph.SHORT_SPACINGS[Dygraph.HOURLY] = 1000 * 3600; -Dygraph.SHORT_SPACINGS[Dygraph.HOURLY] = 1000 * 3600 * 6; +Dygraph.SHORT_SPACINGS[Dygraph.SIX_HOURLY] = 1000 * 3600 * 6; Dygraph.SHORT_SPACINGS[Dygraph.DAILY] = 1000 * 86400; Dygraph.SHORT_SPACINGS[Dygraph.WEEKLY] = 1000 * 604800;