5 setup
: function(parent
) {
7 "<p>Line should be visible in the middle of the chart:</p>" +
8 "<div id='blah'></div>" +
10 "<p>Line should be visible ~90% up the chart:</p>" +
11 "<div id='blah2'></div>";
14 var g1
= new Dygraph(document
.getElementById("blah"),
15 "X,Y\n10,12345\n11,12345\n",
16 { width
: 640, height
: 480 });
18 var g2
= new Dygraph(document
.getElementById("blah2"),
20 "20021229,10000000.000000\n" +
21 "20030105,10000000.000000\n" +
22 "20030112,10000000.000000\n" +
23 "20030119,10000000.000000\n" +
24 "20030126,10000000.000000\n" +
25 "20030202,10000000.000000\n" +
26 "20030209,10000000.000000\n" +
27 "20030216,10000000.000000\n",
28 { width
: 640, height
: 480, includeZero
: true, labelsKMB
: true });