Add variable declarations for most all graphs and charts.
[dygraphs.git] / tests / custom-bars.html
index 5dd2617..6fa8762 100644 (file)
@@ -19,7 +19,7 @@
     <div id="graph"></div>
 
     <script type="text/javascript">
-      new Dygraph(document.getElementById("graph"),
+      var g = new Dygraph(document.getElementById("graph"),
                   [
                     [1, [10,  10, 100]],
                     [2, [15,  20, 110]],