TEST: test to verify the bugfix
authorDavid Eberlein <david.eberlein@ch.sauter-bc.com>
Fri, 12 Apr 2013 14:15:06 +0000 (16:15 +0200)
committerDavid Eberlein <david.eberlein@ch.sauter-bc.com>
Fri, 12 Apr 2013 14:15:06 +0000 (16:15 +0200)
tests/missing-data.html

index fd0bfbd..0aa3c3c 100644 (file)
@@ -21,6 +21,9 @@
     </td><td valign=top>
     <div id="graph3"></div>
     <div id="graph4"></div>
+    </td><td valign=top>
+    <div id="graph5"></div>
+    <div id="graph6"></div>
     </td></tr>
     </table>
 
         labels: [ "X", "Series1", "Series2" ]
       }
     );
+      
+    g5 = new Dygraph(
+        document.getElementById("graph5"),
+        [
+          [1, [10, 2], [20, 3]],
+          [2, [12, 2], [20, 3]],
+          [3, [ 8, 2], [20, 3]],
+          [4, [2, null], null],
+          [5, null, [null, 3]],
+          [6, [ 9, 2], [20, 3]],
+          [7, [10, 2], [20, 3]]
+        ],
+        {
+          errorBars: true,
+          labels: [ "X", "Series1", "Series2" ]
+        }
+    );
+      
+    g6 = new Dygraph(
+        document.getElementById("graph6"),
+        [
+          [1, [8, 10,12]],
+          [2, [3, 5,7]],
+          [3, null],
+          [4, [ 9,null, 2]],
+          [5, [null,2, null]],
+          [6, [2,3, 6]]
+        ],
+        {
+          customBars: true,
+          labels: [ "X", "Series1"]
+        }
+    );
     </script>
   </body>
 </html>