record Dygraph in independent-series.html
[dygraphs.git] / tests / independent-series.html
index e3ae8a4..37cf0e0 100644 (file)
     <p>The gap would normally be encoded as a null, or missing value. But when you use <code>connectSeparatedPoints</code>, that has a special meaning. Instead, you have to use <code>NaN</code>. This is a bit of a hack, but it gets the job done.</p> 
 
     <script type="text/javascript">
-    new Dygraph(
+    g2 = new Dygraph(
       document.getElementById("graph2"),
 "x,A,B  \n" +
 "1,,3   \n" +