1 /*global Gallery,Dygraph,data */
7 name
: 'Roll Periods and Error Bars',
8 title
: 'Demo of a graph with many data points and custom error bars.',
9 setup
: function(parent
) {
11 "<style>.dygraph-legend { text-align: right; }</style>",
12 "<p>Roll period of 14 timesteps.</p>",
13 "<div id='roll14' style='width:600px; height:300px;'></div>",
14 "<p>No roll period.</p>",
15 "<div id='noroll' style='width:600px; height:300px;'></div>"]
20 document
.getElementById("noroll"),
24 title
: 'Daily Temperatures in New York vs. San Francisco',
25 ylabel
: 'Temperature (F)',
30 document
.getElementById("roll14"),
36 title
: 'Daily Temperatures in New York vs. San Francisco',
37 ylabel
: 'Temperature (F)',