X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcallback.html;h=5a084092d1170a1caee42569ea8ba74615cbb269;hb=fb369f35fe90a793a8f41e9cff251eae23e782d8;hp=6b8f383d5e892bb46def7b50d0b1b91f976898fd;hpb=029da4b60475f7aa25f104165d4f6f4d44e41467;p=dygraphs.git
diff --git a/tests/callback.html b/tests/callback.html
index 6b8f383..5a08409 100644
--- a/tests/callback.html
+++ b/tests/callback.html
@@ -4,7 +4,8 @@
-
+
+
@@ -26,6 +27,7 @@
+
@@ -64,6 +66,12 @@
}
},
+ unhighlightCallback: function(e) {
+ if (document.getElementById('unhighlight').checked) {
+ s.innerHTML += "Unhighlight
";
+ }
+ },
+
clickCallback: function(e, x, pts) {
s.innerHTML += "Click " + pts_info(e,x,pts) + "
";
},