X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fdemo.html;h=2c7269901db023714ebf6a065a0d662a1e6578b1;hb=bedc5cd39283fe07b9e4125c4e397b14571fed15;hp=7fedf3fc19892490f0043d6c1f253318fafc07b9;hpb=54425b14df388e9337a1d77876512bb60ba74c3b;p=dygraphs.git
diff --git a/tests/demo.html b/tests/demo.html
index 7fedf3f..2c72699 100644
--- a/tests/demo.html
+++ b/tests/demo.html
@@ -2,13 +2,10 @@
demo
-
-
-
-
-
+
+
Demo
@@ -35,19 +32,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
}
);