X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fannotation.html;h=097605266c9a838c38ab149201e132cd542e0217;hb=33030f33c02e30364172a94b0dd7bdb6528b0f17;hp=f4191df5cf3296868ef022c6e1871e1089841cf8;hpb=d14b9eed5b7ee0fc3935cbdb2c9a66cf881fd87a;p=dygraphs.git diff --git a/tests/annotation.html b/tests/annotation.html index f4191df..0976052 100644 --- a/tests/annotation.html +++ b/tests/annotation.html @@ -4,6 +4,9 @@ + @@ -28,7 +31,7 @@ return "(" + ann.series + ", " + ann.x + ")"; } - g = new DateGraph( + g = new Dygraph( document.getElementById("g"), function() { var zp = function(x) { if (x < 10) return "0"+x; else return x; }; @@ -77,8 +80,8 @@ series: 'another line', x: "20061013", icon: 'dollar.png', - iconWidth: 18, - iconHeight: 23, + width: 18, + height: 23, tickHeight: 4, text: 'Another one', cssClass: 'annotation',