X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fmissing-data.html;h=0aa3c3c8a1f3c0a82ac36aba0a778b6c68a2ddce;hb=aa29d4841105e9b12246e2552fd868122bfe9a06;hp=1176101e2008ac05113cb48665d99f414d77193e;hpb=10494b48b43d9ca8710d441d3c530c7d546f3edf;p=dygraphs.git diff --git a/tests/missing-data.html b/tests/missing-data.html index 1176101..0aa3c3c 100644 --- a/tests/missing-data.html +++ b/tests/missing-data.html @@ -6,10 +6,12 @@ - - - - + + + @@ -19,6 +21,9 @@
+
+
+
@@ -86,6 +91,39 @@ 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"] + } + );