X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2Flogscale.html;h=98193baa557216d24ea516f6d3122e672b6093cc;hb=d33d1c0b44a06d5159a94838e4e24c745d7c6409;hp=be26ea199a3baed2362650c7b0e69d44eec766ef;hpb=d03e78ed03fbe85b86c67bbd0240248a80621e8b;p=dygraphs.git
diff --git a/tests/logscale.html b/tests/logscale.html
index be26ea1..98193ba 100644
--- a/tests/logscale.html
+++ b/tests/logscale.html
@@ -1,13 +1,17 @@
+
+
log scale
-
-
-
-
+
+
+
@@ -44,19 +48,20 @@
"4,250\n"+
"5,1000\n"+
"6,30\n"+
- "7,80\n"+
+ "7,0\n"+
"8,100\n"+
"9,500\n"+
+ "101,500\n"+
"";
};
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;
}