X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fcallback.html;h=5a084092d1170a1caee42569ea8ba74615cbb269;hb=bcd3ebf04c7eeb257afb0f6055d28cfd85a79e1b;hp=997e46455d6fa64ea3bd467d5db7f0aec79f97aa;hpb=bb66df31ffc04645f3227d81651574dd5d4561ae;p=dygraphs.git diff --git a/tests/callback.html b/tests/callback.html index 997e464..5a08409 100644 --- a/tests/callback.html +++ b/tests/callback.html @@ -27,6 +27,7 @@ + @@ -65,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) + "
"; },