Check for new options before updating synchronised graphs (Fixes #760)
[dygraphs.git] / gallery / gallery-template.js
CommitLineData
c1f22b5a 1// Use this as a template for new Gallery entries.
e88a95b4 2/*global Gallery,Dygraph,data */
c1f22b5a
RK
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() {
e88a95b4 12 new Dygraph(document.getElementById("blah"),
c1f22b5a
RK
13 "X,Y\n10,12345\n11,12345\n", {});
14 }
15 });