X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2Fmissing-data.html;h=615a732de0ec33b4a7e9be041b9e9b3d0520d1dd;hb=refs%2Fheads%2Ftyped-options;hp=1176101e2008ac05113cb48665d99f414d77193e;hpb=44f29e932dcbe83c1bfaebb8735579392e27a5df;p=dygraphs.git
diff --git a/tests/missing-data.html b/tests/missing-data.html
index 1176101..615a732 100644
--- a/tests/missing-data.html
+++ b/tests/missing-data.html
@@ -6,10 +6,12 @@
-
-
-
-
+
+
+
@@ -59,7 +64,7 @@
[2, [12, 2], [20, 3]],
[3, [ 8, 2], [20, 3]],
[4, [null, 2], [20, 3]],
- [5, [null, 2], [null, 3]],
+ [5, [null, 2], null],
[6, [ 9, 2], [20, 3]],
[7, [10, 2], [20, 3]]
],
@@ -75,8 +80,8 @@
[1, [10, 2], [20, 3]],
[2, [12, 2], [20, 3]],
[3, [ 8, 2], [20, 3]],
- [4, [null, 2], [20, 3]],
- [5, [null, 2], [null, 3]],
+ [4, null, [20, 3]],
+ [5, null, [null, 3]],
[6, [ 9, 2], [20, 3]],
[7, [10, 2], [20, 3]]
],
@@ -86,6 +91,41 @@
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,
+ connectSeparatedPoints: false,
+ labels: [ "X", "Series1", "Series2" ]
+ }
+ );
+
+ g6 = new Dygraph(
+ document.getElementById("graph6"),
+ [
+ [1, [8, 10,12],null],
+ [2, [3, 5,7],[4,6,7]],
+ [3, null,[1,2,4]],
+ [4, [ 9,null, 2],[3,4,8]],
+ [5, [null,2, null],[6,8,9]],
+ [6, [2,3, 6],[2,3,5]]
+ ],
+ {
+ customBars: true,
+ connectSeparatedPoints: false,
+ labels: [ "X", "Series1", "Series2"]
+ }
+ );