X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fhighlighted-region.html;h=f932c86375ccd89e9d3baf6d9a240e32db62da0e;hb=a4094ad124afb9c88c2023e9fd23e7017ab93218;hp=093cc8a201eed8d2e6438391b7c412eb2e690878;hpb=54425b14df388e9337a1d77876512bb60ba74c3b;p=dygraphs.git diff --git a/tests/highlighted-region.html b/tests/highlighted-region.html index 093cc8a..f932c86 100644 --- a/tests/highlighted-region.html +++ b/tests/highlighted-region.html @@ -1,14 +1,14 @@ + Highlighted Region - - - - - + + + @@ -33,11 +33,12 @@ } - new Dygraph( + var g = new Dygraph( document.getElementById("div_g"), data, { labels: ['X', 'Est.', 'Actual'], + animatedZooms: true, underlayCallback: function(canvas, area, g) { var bottom_left = g.toDomCoords(highlight_start, -20); var top_right = g.toDomCoords(highlight_end, +20);