Merge pull request #192 from kberg/master
[dygraphs.git] / gallery / gallery-template.js
CommitLineData
c1f22b5a
RK
1// Use this as a template for new Gallery entries.
2Gallery.register(
3 'id',
4 {
5 name: 'name',
6 title: 'title',
7 setup: function(parent) {
8 parent.innerHTML = "<div id='blah'>";
9 },
10 run: function() {
11 g = new Dygraph(document.getElementById("blah"),
12 "X,Y\n10,12345\n11,12345\n", {});
13 }
14 });