Rename and retitle plotter.
authorRobert Konigsberg <konigsberg@google.com>
Sun, 15 Jan 2012 16:47:25 +0000 (11:47 -0500)
committerRobert Konigsberg <konigsberg@google.com>
Sun, 15 Jan 2012 16:47:25 +0000 (11:47 -0500)
gallery/plotter.js

index 14283c7..7a60aba 100644 (file)
@@ -2,8 +2,8 @@
 Gallery.register(
   'plotter',
   {
-    name: 'Plotter',
-    title: 'title',
+    name: 'Function Plotter',
+    title: 'Define your data with functions',
     setup: function(parent) {
       parent.innerHTML =
         "<p><b>Equation: </b><br/>\n" +
@@ -71,5 +71,6 @@ Gallery.register(
 
         g = new Dygraph(graph, data);
       }
+      window.plot();
     }
   });