make bug more clear in stacked test
authorDan Vanderkam <danvk@google.com>
Fri, 23 Apr 2010 22:26:24 +0000 (15:26 -0700)
committerDan Vanderkam <danvk@google.com>
Fri, 23 Apr 2010 22:26:24 +0000 (15:26 -0700)
tests/stacked.html

index 173c944..ac2f86f 100644 (file)
@@ -4,8 +4,10 @@
     <!--[if IE]>
     <script type="text/javascript" src="excanvas.js"></script>
     <![endif]-->
-    <script type="text/javascript" src="../dygraph-combined.js"></script>
-    <script type="text/javascript" src="data.js"></script>
+    <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>
   <body>
     <p>Simple graph:</p>
     <div id="graphdiv2"></div>
 
     <script type="text/javascript">
+      data = "X,x,100-x\n";
+      for (var i = 0; i < 100; i++) {
+        data += i + "," + i + "," + (100 - i) + "\n";
+      }
+
       var g = new Dygraph(document.getElementById("graphdiv"),
                            data);
       var g2 = new Dygraph(document.getElementById("graphdiv2"),