+ {
+ width: 1024
+ }
+ );
+
+ // Generate data which crosses the EST/EDT boundary.
+ var dst_data = [];
+ var base_ms = 1383454200000;
+ for (var x = base_ms; x < base_ms + 1000 * 60 * 80; x += 1000) {
+ dst_data.push([new Date(x), x]);
+ }
+
+ g2 = new Dygraph(
+ document.getElementById("chart2"),
+ dst_data,
+ { width: 1024, labels: ['Date', 'Value'] }
+ );
+
+ g3 = new Dygraph(
+ document.getElementById("chart3"),
+"Date/Time,Purchases\n" +
+"2011-03-11 00:00:00,167082\n" +
+"2011-03-12 00:00:00,168571\n" +
+"2011-03-13 00:00:00,177796\n" +
+"2011-03-14 00:00:00,165587\n" +
+"2011-03-15 00:00:00,164380\n",
+ {
+ width: 1024,
+ dateWindow: [1299989043119.4365, 1300080693627.4866]
+ }