X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Fnegative.js;h=c6eb681bc81f2df31652123c073800193705f311;hb=da2a028fc41e5573868358b3d9eda9826211d217;hp=c2b561c3e52ab8568c5c42f42c928821f4d37801;hpb=5be52ac33ffa79ee2212158aaed71ec3ffb6736c;p=dygraphs.git diff --git a/gallery/negative.js b/gallery/negative.js index c2b561c..c6eb681 100644 --- a/gallery/negative.js +++ b/gallery/negative.js @@ -1,3 +1,4 @@ +/*global Gallery,Dygraph,data */ Gallery.register( 'negative', { @@ -23,17 +24,17 @@ Gallery.register( pos.push([i, 1000 + 2 * i, 1100 + i]); } - var g1 = new Dygraph( + new Dygraph( document.getElementById("g1"), negs, { labels: [ 'x', 'y1', 'y2' ] } ); - var g2 = new Dygraph( + new Dygraph( document.getElementById("g2"), mixed, { labels: [ 'x', 'y1', 'y2' ] } ); - var g3 = new Dygraph( + new Dygraph( document.getElementById("g3"), pos, { labels: [ 'x', 'y1', 'y2' ] } );