X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fannotation.html;fp=tests%2Fannotation.html;h=f4ad452e2a52b221a2aecbabef192648672912d9;hb=9a40897e37ef50be220f252092ad13fa7cbfa8b9;hp=cb7a95d1016ae4e52f660c6cfb360943c7cae6c3;hpb=70aa907273dfc66e0da5948bf14086152138fcd6;p=dygraphs.git diff --git a/tests/annotation.html b/tests/annotation.html index cb7a95d..f4ad452 100644 --- a/tests/annotation.html +++ b/tests/annotation.html @@ -66,7 +66,8 @@ annotations.push( { series: 'another line', x: "20061013", - shortText: 'X', + icon: 'http://www.planscalendar.com/icons/dollar_sign_32x32.gif', + shortText: 'A', text: 'Another one', cssClass: 'annotation', clickHandler: function() { @@ -82,7 +83,8 @@ series: 'line', x: "200610" + x, shortText: x, - text: 'Line ' + x + text: 'Line ' + x, + tickHeight: 10 } ); last_ann = x; g.setAnnotations(annotations);