+ xlabel: 'Date (Ticks indicate the start of the indicated time period)',
+ labelsDivStyles: {
+ 'text-align': 'right',
+ 'background': 'none'
+ },
+ strokeWidth: 1.5
+ }
+ );
+
+ g2 = new Dygraph(
+ document.getElementById("div_g2"),
+ data, {
+ rollPeriod: 30,
+ legend: 'always',
+ title: 'High and Low Temperatures (30-day average)',
+ ylabel: 'Temperature (F)',
+ xlabel: 'Date (Ticks indicate the start of the indicated time period)',