1 /*global Gallery,Dygraph,data */
6 setup
: function(parent
) {
8 "<p>Line should be visible in the middle of the chart:</p>" +
9 "<div id='blah'></div>" +
11 "<p>Line should be visible ~90% up the chart:</p>" +
12 "<div id='blah2'></div>";
15 new Dygraph(document
.getElementById("blah"),
16 "X,Y\n10,12345\n11,12345\n",
17 { width
: 640, height
: 480 });
19 new Dygraph(document
.getElementById("blah2"),
21 "20021229,10000000.000000\n" +
22 "20030105,10000000.000000\n" +
23 "20030112,10000000.000000\n" +
24 "20030119,10000000.000000\n" +
25 "20030126,10000000.000000\n" +
26 "20030202,10000000.000000\n" +
27 "20030209,10000000.000000\n" +
28 "20030216,10000000.000000\n",
29 { width
: 640, height
: 480, includeZero
: true, labelsKMB
: true });