From: Dan Vanderkam Date: Mon, 8 Aug 2011 17:17:21 +0000 (-0400) Subject: back to sanity X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=d26fe11c5db89df022e741417568475524706c63;p=dygraphs.git back to sanity --- diff --git a/auto_tests/tests/axis_labels.js b/auto_tests/tests/axis_labels.js index d785792..bc8bf72 100644 --- a/auto_tests/tests/axis_labels.js +++ b/auto_tests/tests/axis_labels.js @@ -97,7 +97,7 @@ AxisLabelsTestCase.prototype.testSmallRangeNearZero = function() { opts.valueRange = [-0.01, 0.01]; g.updateOptions(opts); - assertEquals(["-1.00e-2","-8.00e-3","-6.00e-3","-4.00e-3","-2.00e-3","0","2.00e-3","4.00e-3","6.00e-3","8.00e-3"], getYLabels()); + assertEquals(["-0.01","-8.00e-3","-6.00e-3","-4.00e-3","-2.00e-3","0","2.00e-3","4.00e-3","6.00e-3","8.00e-3"], getYLabels()); g.setSelection(1); assertEquals('1: Y:0', getLegend()); diff --git a/dygraph.js b/dygraph.js index 82e6518..fdd1483 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1538,10 +1538,6 @@ Dygraph.prototype.loadedEvent_ = function(data) { this.predraw_(); }; -Dygraph.prototype.months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", - "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; -Dygraph.prototype.quarters = ["Jan", "Apr", "Jul", "Oct"]; - /** * Add ticks on the x-axis representing years, months, quarters, weeks, or days * @private