X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Findependent-series.html;h=543f51f755aa40b422d820606b2810ac1811b70e;hb=965a030e724b6890b1ea651fb270d9fdc2699bb3;hp=e3ae8a4a5e07240c18e0027942074bd18b486cba;hpb=c6a0ebbac1ac1454b2d633e6623eef7e1913f5e1;p=dygraphs.git diff --git a/tests/independent-series.html b/tests/independent-series.html index e3ae8a4..543f51f 100644 --- a/tests/independent-series.html +++ b/tests/independent-series.html @@ -27,6 +27,7 @@ +

Independent Series

By using the connectSeparated attribute, it's possible to display a chart of several time series with completely independent x-values.

The trick is to specify values for the series at the union of the x-values of all series. For one series' x values, specify null for each of the other series.

@@ -126,7 +127,7 @@

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.