Update callback.html to reflect changes to zoomCallback API.
authorRobert Konigsberg <konigsberg@google.com>
Sun, 21 Nov 2010 02:28:36 +0000 (21:28 -0500)
committerRobert Konigsberg <konigsberg@google.com>
Sun, 21 Nov 2010 02:28:36 +0000 (21:28 -0500)
tests/callback.html

index 04ed8ea..3a14ff3 100644 (file)
@@ -81,8 +81,8 @@
                 s.innerHTML += "<b>Point Click</b> " + p.name + ": " + p.x + "<br/>";
               },
 
-              zoomCallback: function(minX, maxX) {
-                s.innerHTML += "<b>Zoom</b> [" + minX + ", " + maxX + "]<br/>";
+              zoomCallback: function(minX, maxX, yRanges) {
+                s.innerHTML += "<b>Zoom</b> [" + minX + ", " + maxX + ", [" + yRanges + "]]<br/>";
               },
 
               drawCallback: function(g) {