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