Merge pull request #250 from wimme/patch-4
[dygraphs.git] / tests / unboxed-spark.html
index cb24df5..d40822a 100644 (file)
@@ -15,7 +15,7 @@
     <script type="text/javascript" src="data.js"></script>
     <style type="text/css">
       #div_spark {
-        display: inline;
+        display: inline-block;
       }
     </style>
   </head>
@@ -54,7 +54,7 @@
     </p>
 
     <script type="text/javascript">
-      new Dygraph(
+      var g2 = new Dygraph(
             document.getElementById("div_spark"),
             data, {
               drawXAxis: false,