From: Robert Konigsberg <konigsberg@google.com>
Date: Wed, 13 Jun 2012 20:05:56 +0000 (-0400)
Subject: Explain the role of NaN in connectSeparatedPoints.
X-Git-Tag: v1.0.0~238^2^2~26
X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=6a84f2dfcf856aadb11db53f9df6272a9939b253;p=dygraphs.git

Explain the role of NaN in connectSeparatedPoints.
---

diff --git a/docs/data.html b/docs/data.html
index b010407..135fe16 100644
--- a/docs/data.html
+++ b/docs/data.html
@@ -292,8 +292,13 @@
       <i>customBars</i>: [x, [low1, val1, high1], [low2, val2, high2], ...]
     </code>
 
-    <p>To specify missing data, set the value to null. You may not set a value
-    inside an array to null. Use null instead of the entire array.</p>
+    <p>To specify missing data, set the value to null or NaN. You may not set a value
+    inside an array to null or NaN. Use null or NaN instead of the entire array. 
+    The only difference between the two is when the option
+    <a href="options.html#conectSeparatedPoints">connectSeparatedPoints</a>
+    true. In that case, the gaps created by nulls are filled in, and gaps
+    created by NaNs are preserved.
+    </p>
 
     <a name="function"><h3>Functions</h3>