X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Findependent-series.html;h=bddcc6b43ced0447fe054113711ffa5a2a1aa993;hb=074c034ad88b8a78fe59c7a97e8498a9b7216f27;hp=7e589769e5dc8a086bd1e57f37e7a8ac65fcb3a4;hpb=e26b71566419e1c051f3fbd1f4f8f64b063a04c9;p=dygraphs.git diff --git a/tests/independent-series.html b/tests/independent-series.html index 7e58976..bddcc6b 100644 --- a/tests/independent-series.html +++ b/tests/independent-series.html @@ -127,12 +127,12 @@ -
+The gap would normally be encoded as a null, or missing value. But when you use connectSeparatedPoints
, that has a special meaning. Instead, you have to use NaN
. This is a bit of a hack, but it gets the job done.
+ Index
+ +0 +1 +2 +3 +4 +5 +6 +7 +8+ |
+
+ (CSV)
+ x,A,B +0,2,1 +1,3,2 +2,3,1 +3,, +4,4, +5,3, +6,3, +7,3, +8,4,2+ |
+
+ (native)
+ [ + [0, 2, 1], + [1, 3, 2], + [2, 3, 1], + [3, null, null], + [4, 4, null], + [5, 3, null], + [6, 3, null], + [7, 3, null], + [8, 4, 2] ]+ |
+