Fix bug 382. Simplify resizing by not recreating everything from scratch. This makes...
[dygraphs.git] / tests / isolated-points.html
index 6043e04..1c1da06 100644 (file)
@@ -16,7 +16,7 @@
   <body>
     <div id="graph"></div>
     <script type="text/javascript">
-    new Dygraph(
+    var g = new Dygraph(
       document.getElementById("graph"),
       [
         [ 1, 10, 11],
       ],
       {
         labels: ["X", "S1", "S2" ],
+        series: {
+          S1: {
+            drawGapEdgePoints: true
+          }
+        },
+        pointSize: 4,
         showRoller: true
       }
     );