Undo change to logscale test.
authorRobert Konigsberg <konigsberg@google.com>
Fri, 4 Feb 2011 20:43:54 +0000 (15:43 -0500)
committerRobert Konigsberg <konigsberg@google.com>
Fri, 4 Feb 2011 20:43:54 +0000 (15:43 -0500)
tests/logscale.html

index be26ea1..1d17bfa 100644 (file)
       };
 
       var g0 = new Dygraph(document.getElementById("div_g0"),
-                      data0, { logscale : true, valueRange: [-1,100] });
-  //    var g1 = new Dygraph(document.getElementById("div_g1"),
-                      //data1, { logscale : true });
+                      data0, { logscale : true });
+      var g1 = new Dygraph(document.getElementById("div_g1"),
+                      data1, { logscale : true });
       function setLogScale(val) {
         g0.updateOptions({ logscale: val });
-        // g1.updateOptions({ logscale: val });
+        g1.updateOptions({ logscale: val });
         document.getElementById("linear").disabled = !val;
         document.getElementById("log").disabled = val;
       }