1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en">
5 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
7 <title>JsDoc Reference - File Index
</title>
8 <meta name=
"generator" content=
"JsDoc Toolkit" />
10 <style type=
"text/css">
14 font:
12px
"Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
21 background-color: #ccc;
36 border-top:
1px solid #
7F8FB1;
44 border:
1px dashed #ccc;
54 background-color: #F3F3F3;
66 list-style-type: none;
69 font-family: arial, sans-serif;
80 .summaryTable { width:
100%; }
88 h2 { font-size:
110%; }
89 caption, div.sectionTitle
91 background-color: #
7F8FB1;
95 padding:
2px
6px
2px
6px;
96 border:
1px #
7F8FB1 solid;
99 div.sectionTitle { margin-bottom:
8px; }
100 .summaryTable thead { display: none; }
106 border-bottom:
1px #
7F8FB1 solid;
107 border-right:
1px #
7F8FB1 solid;
110 /*col#summaryAttributes {}*/
111 .summaryTable td.attributes
113 border-left:
1px #
7F8FB1 solid;
118 td.attributes, .fixedFont
122 font-family:
"Courier New",Courier,monospace;
126 .summaryTable td.nameDescription
133 .summaryTable td.nameDescription, .description
140 .summaryTable { margin-bottom:
8px; }
153 .detailList dt { margin-left:
20px; }
162 .light, td.attributes, .light a:link, .light a:visited
181 <div align=
"center"><a href=
"index.html">Class Index
</a>
182 |
<a href=
"files.html">File Index
</a></div>
185 <ul class=
"classList">
187 <li><i><a href=
"symbols/_global_.html">_global_
</a></i></li>
189 <li><a href=
"symbols/Dygraph.html">Dygraph
</a></li>
196 <h1 class=
"classTitle">File Index
</h1>
200 <h2><a href=
"symbols/src/dygraph.js.html">dygraph.js
</a></h2>
202 Creates an interactive, zoomable graph based on a CSV file or
203 string. Dygraph can handle multiple series with or without error bars. The
204 date/value ranges will be automatically set. Dygraph uses the
205 <canvas
> tag, so it only works in FF1.5+.
208 <dt class=
"heading">Author:
</dt>
209 <dd>danvdk@gmail.com (Dan Vanderkam)
212 <div id=
"graphdiv" style=
"width:800px; height:500px;"></div>
213 <script type=
"text/javascript">
214 new Dygraph(document.getElementById(
"graphdiv"),
215 "datafile.csv", // CSV file with headers
219 The CSV file is of the form
221 Date,SeriesA,SeriesB,SeriesC
225 If the 'errorBars' option is set in the constructor, the input should be of
227 Date,SeriesA,SeriesB,...
228 YYYYMMDD,A1,sigmaA1,B1,sigmaB1,...
229 YYYYMMDD,A2,sigmaA2,B2,sigmaB2,...
231 If the 'fractions' option is set, the input should be of the form:
233 Date,SeriesA,SeriesB,...
234 YYYYMMDD,A1/B1,A2/B2,...
235 YYYYMMDD,A1/B1,A2/B2,...
237 And error bars will be calculated automatically using a binomial distribution.
239 For further documentation and examples, see http://dygraphs.com/
</dd>
250 <div class=
"fineprint" style=
"clear:both">
252 Documentation generated by
<a href=
"http://code.google.com/p/jsdoc-toolkit/" target=
"_blankt">JsDoc Toolkit
</a> 2.4.0 on Mon May
09 2011 07:
12:
49 GMT-
0700 (PDT)