X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fmissing-data.html;h=6d363fa233b058a53a1828119ca1a6c006d4dc7e;hb=e88ff79f863b8d218f6c1644c5184f1589561404;hp=e6eb6480c8e10fa75ea646fe44f29233538a0bdb;hpb=5011e7a1a4764f7ae0b8703e319d635ab6e4abc8;p=dygraphs.git
diff --git a/tests/missing-data.html b/tests/missing-data.html
index e6eb648..6d363fa 100644
--- a/tests/missing-data.html
+++ b/tests/missing-data.html
@@ -16,6 +16,7 @@
+
|
@@ -43,22 +44,43 @@
[ new Date("2009/12/06"), 18, 15],
[ new Date("2009/12/07"), 12, 16]
],
- { labels: ["Date","GapSeries1","GapSeries2"] }
+ {
+ labels: ["Date","GapSeries1","GapSeries2"],
+ showRoller: true
+ }
);
new Dygraph(
document.getElementById("graph3"),
[
[1, [10, 2], [20, 3]],
- [2, [12, 2], [22, 3]],
- [3, [ 8, 2], [25, 3]],
- [4, [null, 2], [18, 3]],
- [5, [11, 2], [20, 3]],
- [6, [ 9, 2], [22, 3]],
- [7, [10, 2], [23, 3]],
+ [2, [12, 2], [20, 3]],
+ [3, [ 8, 2], [20, 3]],
+ [4, [null, 2], [20, 3]],
+ [5, [null, 2], [null, 3]],
+ [6, [ 9, 2], [20, 3]],
+ [7, [10, 2], [20, 3]],
+ ],
+ {
+ errorBars: true,
+ labels: [ "X", "Series1", "Series2" ]
+ }
+ );
+
+ new Dygraph(
+ document.getElementById("graph4"),
+ [
+ [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]],
+ [6, [ 9, 2], [20, 3]],
+ [7, [10, 2], [20, 3]],
],
{
errorBars: true,
+ rollPeriod: 2,
labels: [ "X", "Series1", "Series2" ]
}
);