--- /dev/null
+<html>
+ <head>
+ <title>log scale</title>
+ <!--[if IE]>
+ <script type="text/javascript" src="../excanvas.js"></script>
+ <![endif]-->
+ <script type="text/javascript" src="../strftime/strftime-min.js"></script>
+ <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
+ <script type="text/javascript" src="../dygraph-canvas.js"></script>
+ <script type="text/javascript" src="../dygraph.js"></script>
+ </head>
+ <script>
+
+function NoisyData() {
+return "" +
+"Date,A\n" +
+"20061124,3.18584070796\n" +
+"20061125,2.83185840708\n" +
+"20061126,3.01953818828\n" +
+"20061127,2.81195079086\n" +
+"20061128,2.97723292469\n" +
+"20061129,1.41093474427";
+}
+ </script>
+ <body>
+ <h1>Log scale demo - work in progress</h1>
+ <div id="div_g" style="width:600px; height:300px;"></div>
+
+ <input type="button" value="log scale" onclick="logScale()">
+ <input type="button" value="linear scale" onclick="linearScale()">
+ <script type="text/javascript">
+ var g = new Dygraph(document.getElementById("div_g"),
+ NoisyData, { logscale : true });
+ function logScale() { g.updateOptions({ logscale : true })}
+ function linearScale() { g.updateOptions({ logscale : null })}
+ </script>
+
+ </body>
+</html>