dygraphs
Version:
dygraphs is a fast, flexible open source JavaScript charting library.
22 lines (21 loc) • 498 B
JavaScript
/*global Gallery,Dygraph,data */
/*global NoisyData */
//galleryActive=true
Gallery.register(
'resize',
{
name: 'resizable window',
title: 'Resize the window. The dygraph will resize with it.',
setup: function(parent) {
parent.innerHTML = "<div id='div_g'>";
},
run: function() {
new Dygraph(
document.getElementById("div_g"),
NoisyData, {
rollPeriod: 7,
errorBars: true
}
);
}
});