X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fmissing-data.html;h=d48237c697fff210ad587bdba7ef37acd125b7bc;hb=0a31d41e94fae75808da6caa36e96fcdd40fd23f;hp=946350916b1623a511d40c8b06cc27e1db9afa05;hpb=a2b2c3a13b968bf10c9dbea58683b0f51011b547;p=dygraphs.git
diff --git a/tests/missing-data.html b/tests/missing-data.html
index 9463509..d48237c 100644
--- a/tests/missing-data.html
+++ b/tests/missing-data.html
@@ -1,13 +1,10 @@
+
+
missing data
-
-
-
-
-
+
+
@@ -57,7 +57,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]]
],
@@ -73,8 +73,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]]
],
@@ -84,6 +84,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"]
+ }
+ );