Add drawAxis option, deprecating drawXAxis and drawYAxis. Added tests for that and...
[dygraphs.git] / gallery / gallery-template.js
... / ...
CommitLineData
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 });