Reduce the width of testGridLinePattern from 480px to 120px, making the test run...
[dygraphs.git] / tests / gviz.html
index 8ff321b..6a4da1b 100644 (file)
       }
 
       function drawVisualization() {
-      data = createDataTable('date');
+        data = createDataTable('date');
         new google.visualization.LineChart(
             document.getElementById('gviz')).draw(data, null);
 
-        new Dygraph.GVizChart(
+        var chart1 = new Dygraph.GVizChart(
             document.getElementById('dygraphs')).draw(data, {
             });
 
         data = createDataTable('datetime');
-        new Dygraph.GVizChart(
+        var chart2 = new Dygraph.GVizChart(
             document.getElementById('dygraphs_datetime')).draw(data, {
             });