X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-tickers.js;h=0ca06e780e6e3a63dcd4f4660605d4fe30d557a1;hb=c1f22b5a5d4ffbf25a75fc567232e65381c1938b;hp=87c5ce5a3133f693a76e8866c61ff8159a8bb7b3;hpb=48e614acf3084b9836803f8b014bf0e65f1ca119;p=dygraphs.git diff --git a/dygraph-tickers.js b/dygraph-tickers.js index 87c5ce5..0ca06e7 100644 --- a/dygraph-tickers.js +++ b/dygraph-tickers.js @@ -1,4 +1,8 @@ -// Copyright 2011 Google Inc. All Rights Reserved. +/** + * @license + * Copyright 2011 Dan Vanderkam (danvdk@gmail.com) + * MIT-licensed (http://opensource.org/licenses/MIT) + */ /** * @fileoverview Description of this file. @@ -335,7 +339,7 @@ Dygraph.getDateAxis = function(start_time, end_time, granularity, opts, dg) { var year_mod = 1; // e.g. to only print one point every 10 years. if (granularity == Dygraph.MONTHLY) { - months = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ]; + months = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 ]; } else if (granularity == Dygraph.QUARTERLY) { months = [ 0, 3, 6, 9 ]; } else if (granularity == Dygraph.BIANNUAL) {