X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fdemo.html;h=c4a16235ef8aadd9bf76ec66f4ea64b70f1f7b8f;hb=14cc6862eecf8da2717d764e7dcbc5fe04054538;hp=c13c2ad2b736089548e2fe29f1c3163cd4034452;hpb=714ba962d38df61d2fbe7a9b54c5328387c1d1a5;p=dygraphs.git
diff --git a/tests/demo.html b/tests/demo.html
index c13c2ad..c4a1623 100644
--- a/tests/demo.html
+++ b/tests/demo.html
@@ -1,13 +1,8 @@
+
demo
-
-
-
-
-
+
Demo
@@ -34,19 +29,22 @@
}
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'
+ // drawXGrid: false
}
);