4 <link rel=
"stylesheet" href=
"../dist/dygraph.css">
5 <title>Layout Options
</title>
6 <script type=
"text/javascript" src=
"../dist/dygraph.js"></script>
8 <script type=
"text/javascript" src=
"data.js"></script>
11 <h2>Layout Options Update
</h2>
12 <div id=
"chart" style=
"width:600px; height:300px;"></div>
13 <script type=
"text/javascript">
14 g = new Dygraph(document.getElementById('chart'), data,
20 g.updateOptions({strokeWidth:
21 parseFloat(document.getElementById(
"strokeWidth").value)});
26 <input type=text
id=
"strokeWidth" value=
"2.0" />
27 <input type=button
value=
"Change Stroke Width" onClick=
"change()" />