Commit | Line | Data |
---|---|---|
1 | // Use this as a template for new Gallery entries. | |
2 | Gallery.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 | }); |