<script type="text/javascript" src="excanvas.js"></script>
<![endif]-->
<script type="text/javascript" src="annotations/dygraph-combined.js"></script>
+ <!--
<script type="text/javascript" src="annotations/dygraph.js"></script>
<script type="text/javascript" src="annotations/dygraph-canvas.js"></script>
+ -->
<link rel="stylesheet" href="style.css">
</head>
<body>
"position": "absolute",
"fontSize": this.options.axisLabelFontSize + "px",
"zIndex": 10,
- "overflow": "hidden",
+ "overflow": "hidden"
};
var bindEvt = function(eventName, classEventName, p, self) {
<input type="button" value="Add Annotation" onclick="add()" />
<input type="button" value="Shove to bottom" onclick="bottom(this)" />
<div id="events"> </div>
- <div style="position:absolute; left:200px; top: 200px;" id="g"></div>
+ <div style="position:absolute; left:200px; top: 200px;" id="g_div"></div>
<div style="position:absolute; left:700px; top: 200px;" id="list"></div>
<script type="text/javascript">
}
g = new Dygraph(
- document.getElementById("g"),
+ document.getElementById("g_div"),
function() {
var zp = function(x) { if (x < 10) return "0"+x; else return x; };
var r = "date,parabola,line,another line,sine wave\n";
html += ann[i].text + "</span><br/>";
}
document.getElementById("list").innerHTML = html;
- },
+ }
}
);