Restore original data stirng in the README sample.
authorRobert Konigsberg <konigsberg@google.com>
Thu, 5 May 2011 01:13:19 +0000 (18:13 -0700)
committerRobert Konigsberg <konigsberg@google.com>
Thu, 5 May 2011 01:13:19 +0000 (18:13 -0700)
README

diff --git a/README b/README
index 5cbd96a..135ba59 100644 (file)
--- a/README
+++ b/README
@@ -32,12 +32,10 @@ Minimal Example
 <script type="text/javascript">
   g = new Dygraph(
         document.getElementById("graphdiv"),  // containing div
-        [
-          [ 'Date', 'Temperature' ],          // the data series
-          [ '2008-05-07', 75 ],
-          [ '2008-05-08', 70 ],
-          [ '2008-05-09', 80 ]
-        ],
+        "Date,Temperature\n" +                // the data series
+        "2008-05-07,75\n" +
+        "2008-05-08,70\n" +
+        "2008-05-09,80\n",
         { }                                   // the options
       );
 </script>