Adding page views by project csv data.
authorAndrew Otto <acotto@gmail.com>
Wed, 15 Feb 2012 01:09:48 +0000 (17:09 -0800)
committerAndrew Otto <acotto@gmail.com>
Wed, 15 Feb 2012 01:09:48 +0000 (17:09 -0800)
lib/main.co
www/data [new symlink]

index db7c644..8653c87 100644 (file)
@@ -1,14 +1,10 @@
 g = null
 
 main = ->
-    console.log 'hi'
     g = new Dygraph do
           $ '#graphdiv' .0
-          "Date,Temperature\n
-          2008-05-07,75\n
-          2008-05-08,70\n
-          2008-05-09,80\n"
-          {}
+          'data/page_views_by_project.csv'
+          {'logscale': true}
     
     
 
diff --git a/www/data b/www/data
new file mode 120000 (symlink)
index 0000000..4909e06
--- /dev/null
+++ b/www/data
@@ -0,0 +1 @@
+../data
\ No newline at end of file