projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'danvk/master'
[dygraphs.git]
/
tests
/
callback.html
diff --git
a/tests/callback.html
b/tests/callback.html
index
bdfc6ad
..
4fda7b7
100644
(file)
--- a/
tests/callback.html
+++ b/
tests/callback.html
@@
-26,6
+26,9
@@
<input type="button" value="Clear list" onclick="javascript:document.getElementById('status').innerHTML=''" />
<input type="checkbox" id="highlight" checked><label for="highlight"> Show 'highlight' events</label>
<input type="button" value="Clear list" onclick="javascript:document.getElementById('status').innerHTML=''" />
<input type="checkbox" id="highlight" checked><label for="highlight"> Show 'highlight' events</label>
+ <input type="checkbox" id="showLabels" checked
+ onclick='g.updateOptions({showLabelsOnHighlight: this.checked});'>
+ <label for="highlight"> Show Labels on highlight</label>
<div id="status" style="width:100%; height:200px;"></div>
<script type="text/javascript">
<div id="status" style="width:100%; height:200px;"></div>
<script type="text/javascript">
@@
-54,6
+57,7
@@
rollPeriod: 7,
showRoller: true,
errorBars: true,
rollPeriod: 7,
showRoller: true,
errorBars: true,
+ showLabelsOnHighlight: true,
highlightCallback: function(e, x, pts) {
if (document.getElementById('highlight').checked) {
highlightCallback: function(e, x, pts) {
if (document.getElementById('highlight').checked) {