X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fcallback.html;h=64e97772f9ab8a48ace9d654b336fd4f1f68358f;hb=534f1a05ad8cc13d6e22e76ac03e468744924a4d;hp=997e46455d6fa64ea3bd467d5db7f0aec79f97aa;hpb=bb66df31ffc04645f3227d81651574dd5d4561ae;p=dygraphs.git
diff --git a/tests/callback.html b/tests/callback.html
index 997e464..64e9777 100644
--- a/tests/callback.html
+++ b/tests/callback.html
@@ -27,6 +27,7 @@
+
@@ -65,10 +66,20 @@
}
},
+ unhighlightCallback: function(e) {
+ if (document.getElementById('unhighlight').checked) {
+ s.innerHTML += "Unhighlight
";
+ }
+ },
+
clickCallback: function(e, x, pts) {
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 + "]
";
},