X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Fdata.html;h=135fe16057c1610bf5b5faa94d87e5df08547fd0;hb=9912e1cce5219f2f32d817102dc033f6d85ba873;hp=bf1e8974f184ad547bcaf120d914ee3f2e02a0d1;hpb=626505e1f1a5494bd10213401f01918ccfa58727;p=dygraphs.git diff --git a/docs/data.html b/docs/data.html index bf1e897..135fe16 100644 --- a/docs/data.html +++ b/docs/data.html @@ -292,8 +292,13 @@ customBars: [x, [low1, val1, high1], [low2, val2, high2], ...] -

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.

+

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 + connectSeparatedPoints + true. In that case, the gaps created by nulls are filled in, and gaps + created by NaNs are preserved. +

Functions

@@ -304,6 +309,8 @@ function() { return x; } + Functions can return strings, arrays, data tables, URLs, or any other data type. +

DataTable

You can also specify a Google Visualization Library DataTable