"<div id='tool_pencil'></div>",
"<div id='tool_eraser'></div>",
"</div>",
- "<div id='draw_div' style='width: 800px; height: 400px;'></div>",
+ "<div id='draw_div' style='width: 600px; height: 300px;'></div>",
"<p style='font-size: 10pt'>Toolbar/cursor icons are CC-licensed from ",
"<a href='http://www.fatcow.com/free-icons'>FatCow</a>.</p>"].join("\n");
},
title: 'Live random data',
setup: function(parent) {
parent.innerHTML = [
- "<div id='div_g' style='width:800px; height:400px;'></div>",
+ "<div id='div_g' style='width:600px; height:300px;'></div>",
"<p>This test is modeled after a ",
"<a href='http://www.highcharts.com/demo/?example=dynamic-update&theme=default'>highcharts",
"test</a>. New points should appear once per second. Try zooming and ",
"</select>",
"</p>",
"",
- " <p><b>x range: </b> <input type='text' width='5' id='x1' value='-10' />",
- " to <input type='text' width='5' id='x2' value='10' /></p>",
- " <p><button id='plot'>Plot</button></p>",
+ "<p><b>x range: </b> <input type='text' width='5' id='x1' value='-10' />",
+ "to <input type='text' width='5' id='x2' value='10' /></p>",
+ "<p><button id='plot'>Plot</button></p>",
"",
- " <div id='graph_div' style='width:800px; height:400px;'></div>"].join("\n");
+ "<div id='graph_div' style='width:600px; height:300px;'></div>"].join("\n");
},
run: function() {
setup: function(parent) {
parent.innerHTML = [
"<p>No roll period.</p>",
- "<div id='noroll' style='width:800px; height:320px;'></div>",
+ "<div id='noroll' style='width:600px; height:300px;'></div>",
"",
"<p>Roll period of 14 timesteps, custom range selector height and plot color.</p>",
- "<div id='roll14' style='width:800px; height:320px;'></div>"].join("\n");
+ "<div id='roll14' style='width:600px; height:300px;'></div>"].join("\n");
},
run: function() {
g1 = new Dygraph(
title: 'Stock Chart Demo',
setup: function(parent) {
parent.innerHTML = [
- "<div id='stock_div' style='width: 800px; height: 400px;'></div><br/>",
- "<div style='width: 800px; text-align: center;'>",
+ "<div id='stock_div' style='width: 600px; height: 300px;'></div><br/>",
+ "<div style='width: 600px; text-align: center;'>",
" <button id='linear'>Linear Scale</button> ",
" <button id='log' disabled='true'>Log Scale</button>",
"</div>"].join("\n");
setup: function(parent) {
parent.innerHTML = [
"<p>Roll period of 14 timesteps.</p>",
- "<div id='roll14' style='width:800px; height:320px;'></div>",
+ "<div id='roll14' style='width:600px; height:300px;'></div>",
"<p>No roll period.</p>",
- "<div id='noroll' style='width:800px; height:320px;'></div>"]
+ "<div id='noroll' style='width:600px; height:300px;'></div>"]
.join("\n");
},
run: function() {