X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fdemo.html;h=af01cc57acc1f3c94aae8899528c0888cedd02db;hb=623dd1d6e1562941750eb9f00ac28f2481b07f95;hp=2a2ea2065225d6c3581a880da921a9c4bafaad8d;hpb=10494b48b43d9ca8710d441d3c530c7d546f3edf;p=dygraphs.git diff --git a/tests/demo.html b/tests/demo.html index 2a2ea20..af01cc5 100644 --- a/tests/demo.html +++ b/tests/demo.html @@ -1,15 +1,12 @@ - + demo - - - - - + +

Demo

@@ -36,19 +33,23 @@ } return r; }, - null, { - rollPeriod: 1, labelsDiv: document.getElementById('status'), labelsSeparateLines: true, labelsKMB: true, + legend: 'always', colors: ["rgb(51,204,204)", "rgb(255,100,100)", "#00DD55", "rgba(50,50,200,0.4)"], - padding: {left: 40, right: 30, top: 15, bottom: 15}, - width: 480, - height: 320 + width: 640, + height: 480, + title: 'Interesting Shapes', + xlabel: 'Date', + ylabel: 'Count', + axisLineColor: 'white', + showRangeSelector: true + // drawXGrid: false } );