X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=test.html;h=994fa4f143d0722484db4170aaada23d92d87bde;hb=49a7d0d5779af666148294ffb62a65fa390ea212;hp=a7cfde1e620aa228c9b4feda4be7bfe5d0067179;hpb=6a1aa64f6d22473e0357ad1cd7bd93259d899a69;p=dygraphs.git diff --git a/test.html b/test.html index a7cfde1..994fa4f 100644 --- a/test.html +++ b/test.html @@ -58,7 +58,8 @@ function addGraphs() { padding: {left: 40, right: 30, top: 5, bottom: 15}, xValueParser: function(x) { return parseFloat(x); }, xValueFormatter: function(x) { return x; }, - xTicker: DateGraph.prototype.numericTicks + xTicker: DateGraph.prototype.numericTicks, + showRoller: false } ); @@ -72,7 +73,9 @@ function addGraphs() { { errorBars: true, rollPeriod: 7, minTickSize: 1, - dateWindow: [end_time - sixmonths, end_time]}); + dateWindow: [end_time - sixmonths, end_time], + showRoller: true + }); g3 = new DateGraph( document.getElementById('fractiongraph'), @@ -105,6 +108,7 @@ function addGraphs() { errorBars: true, rollPeriod: 7, fractions: true, + showRoller: true }); }