<div id="graphdiv" style="width:600px; height:300px;"></div>
<script type="text/javascript">
- new Dygraph(document.getElementById("graphdiv"),
+ var g = new Dygraph(document.getElementById("graphdiv"),
document.getElementById("data").innerHTML,
{
customBars: true