X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2Fdemo.html;h=9184f4ca114f24b7fb23cfd5b53fceb9a033286f;hb=bef79a5b598ff3bfd0a0cbfe756c82f3945c18b0;hp=2a2ea2065225d6c3581a880da921a9c4bafaad8d;hpb=dea29a4d4be3876830153021ed8825745dfcead9;p=dygraphs.git
diff --git a/tests/demo.html b/tests/demo.html
index 2a2ea20..9184f4c 100644
--- a/tests/demo.html
+++ b/tests/demo.html
@@ -6,10 +6,7 @@
-
-
-
-
+
Demo
@@ -36,19 +33,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
}
);