back to sanity
authorDan Vanderkam <danvk@google.com>
Mon, 8 Aug 2011 17:17:21 +0000 (13:17 -0400)
committerDan Vanderkam <danvk@google.com>
Mon, 8 Aug 2011 17:17:21 +0000 (13:17 -0400)
auto_tests/tests/axis_labels.js
dygraph.js

index d785792..bc8bf72 100644 (file)
@@ -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());
index 82e6518..fdd1483 100644 (file)
@@ -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