+/*global Gallery,Dygraph,data */
Gallery.register(
'styled-chart-labels',
{
"<div class='chart' id='div_g2' style='width:600px; height:300px;'></div>"].join("\n");
},
run: function() {
- g = new Dygraph(
+ new Dygraph(
document.getElementById("div_g"),
data, {
rollPeriod: 7,
}
);
- g2 = new Dygraph(
+ new Dygraph(
document.getElementById("div_g2"),
data, {
rollPeriod: 30,