4 name
: 'Range Selector',
5 title
: 'Demo of the Range Selector',
6 setup
: function(parent
) {
8 "<p>No roll period.</p>",
9 "<div id='noroll' style='width:600px; height:300px;'></div>",
11 "<p>Roll period of 14 timesteps, custom range selector height and plot color.</p>",
12 "<div id='roll14' style='width:600px; height:300px;'></div>"].join("\n");
16 document
.getElementById("noroll"),
20 title
: 'Daily Temperatures in New York vs. San Francisco',
21 ylabel
: 'Temperature (F)',
23 labelsDivStyles
: { 'textAlign': 'right' },
24 showRangeSelector
: true
28 document
.getElementById("roll14"),
34 title
: 'Daily Temperatures in New York vs. San Francisco',
35 ylabel
: 'Temperature (F)',
37 labelsDivStyles
: { 'textAlign': 'right' },
38 showRangeSelector
: true,
39 rangeSelectorHeight
: 30,
40 rangeSelectorPlotStrokeColor
: 'yellow',
41 rangeSelectorPlotFillColor
: 'lightyellow'