all tests pass in IE8!
[dygraphs.git] / docs / index.html
index cb4f362..a91bf06 100644 (file)
@@ -320,6 +320,15 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)
 <table class=thinborder width=1000>
   <tr><th>Name</th><th>Sample Value</th><th>Description</th></tr>
   <tr>
+    <td><b>includeZero</b></td>
+    <td><code>true, false</code></td>
+    <td>Usually, dygraphs will use the range of the data plus some padding to
+    set the range of the y-axis. If this option is set, the y-axis will always
+    include zero, typically as the lowest value. This can be used to avoid
+    exaggerating the variance in the data.</td>
+  </tr>
+  
+  <tr>
     <td><b>rollPeriod</b></td>
     <td><code>7</code></td>
     <td>Number of days over which to average data. Discussed extensively above.</td>
@@ -426,7 +435,7 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)
     <td>Additional styles to apply to the currently-highlighted points div. For
     example, { 'font-weigth': 'bold' } will make the labels bold.</td>
   </tr>
-  
+
   <tr>
     <td><b>highlightCircleSize</b></td>
     <td><code>3</code></td>
@@ -434,6 +443,23 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)
   </tr>
 
   <tr>
+    <td><b>drawPoints</b></td>
+    <td><code>false</code></td>
+    <td>Draw a small dot at each point, in addition to a line going through
+    the point. This makes the individual data points easier to see, but can
+    increase visual clutter in the chart. Default: false</td>
+  </tr>
+
+  <tr>
+    <td><b>pointSize</b></td>
+    <td><code>1.0</code></td>
+    <td>The size of the dot to draw on each point in pixels (see
+    drawPoints). A dot is always drawn when a point is "isolated", i.e.
+    there is a missing point on either side of it. This also controls the
+    size of those dots.</td>
+  </tr>
+
+  <tr>
     <td><b>pixelsPerXLabel</b>, <b>pixelsPerYLabel</b></td>
     <td>50</td>
     <td>Number of pixels to require between each x- and y-label. Larger values
@@ -528,7 +554,19 @@ dygraphs library.</p>
   object's valueOf method.</li>
 </ul>
 
+<h2>Data Policy</h2>
+<p>dygraphs is purely client-side JavaScript. It does not send your data to any
+servers -- the data is processed entirely in the client's browser.</p>
+
 <p><font size=-1>Created May 9, 2008 by <a href=mailto:danvdk@gmail.com>Dan Vanderkam</a></font></p>
 
+<!-- Google Analytics -->
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+</script>
+<script type="text/javascript">
+_uacct = "UA-769809-1";
+urchinTracker();
+</script>
+
 </body>
 </html>