Syntax error, plus used correct function for y axis ranges.
authorRobert Konigsberg <konigsberg@google.com>
Mon, 29 Nov 2010 22:20:45 +0000 (17:20 -0500)
committerRobert Konigsberg <konigsberg@google.com>
Mon, 29 Nov 2010 22:20:45 +0000 (17:20 -0500)
tests/zoom.html

index 1b60936..91cee43 100644 (file)
@@ -43,7 +43,6 @@
              zoomCallback : function(minDate, maxDate, yRanges) {
                  showDimensions(minDate, maxDate, yRanges); }
               }
-            }
           );
 
       // TODO(konigsberg): Implement a visualization that verifies that initial
@@ -82,7 +81,7 @@
         g.updateOptions({
           valueRange: [minValue, maxValue]
         });
-        showYDimensions(this.getYRanges());
+        showYDimensions(g.yAxisRanges());
       }
 
       function unzoomGraph() {