X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcallback.html;h=64e97772f9ab8a48ace9d654b336fd4f1f68358f;hb=8e48eef771ca7e1f4091845e6c690ad309c46fd8;hp=5a084092d1170a1caee42569ea8ba74615cbb269;hpb=a4c6a67c116af8d7f5810fb7cc7a8ded13caf707;p=dygraphs.git
diff --git a/tests/callback.html b/tests/callback.html
index 5a08409..64e9777 100644
--- a/tests/callback.html
+++ b/tests/callback.html
@@ -76,6 +76,10 @@
s.innerHTML += "Click " + pts_info(e,x,pts) + "
";
},
+ pointClickCallback: function(e, p) {
+ s.innerHTML += "Point Click " + p.name + ": " + p.x + "
";
+ },
+
zoomCallback: function(minX, maxX) {
s.innerHTML += "Zoom [" + minX + ", " + maxX + "]
";
},