-// Use this as a template for new Gallery entries.
+/*global Gallery,Dygraph,data */
Gallery.register(
'per-series',
{
parent.innerHTML = "<div id='demodiv'>";
},
run: function() {
- g = new Dygraph(
+ new Dygraph(
document.getElementById("demodiv"),
function() {
var zp = function(x) { if (x < 10) return "0"+x; else return x; };