update docs with temperature demo
[dygraphs.git] / README
1 dygraphs JavaScript charting library
2 Copyright (c) 2006-, Dan Vanderkam.
3 http://code.google.com/p/dygraphs/
4
5 The dygraphs JavaScript library produces produces interactive, zoomable charts of time series.
6
7 Features
8 - Plots time series without using an external server or Flash
9 - Supports multiple data series
10 - Supports error bands around data series
11 - Displays values on mouseover
12 - Interactive zoom
13 - Adjustable averaging period
14 - Customizable click-through actions
15 - Compatible with the Google Visualization API
16
17 Demo
18 For a gallery and documentation, see http://danvk.org/dygraphs/
19
20 Minimal Example
21 <html>
22 <head>
23 <script type="text/javascript" src="dygraph-combined.js"></script>
24 </head>
25 <body>
26 <div id="graphdiv"></div>
27 <script type="text/javascript">
28   g = new DateGraph(
29         document.getElementById("graphdiv"),  // containing div
30         "Date,Temperature\n" +                // the data series
31         "2008-05-07,75\n" +
32         "2008-05-08,70\n" +
33         "2008-05-09,80\n";
34         }
35       );
36 </script>
37 </body>
38 </html>
39
40 License(s)
41 dygraphs uses:
42  - rgbcolor.js (Public Domain)
43  - strftime.js (BSD License)
44  - excanvas.js (Apache License)
45
46 rgbcolor: http://www.phpied.com/rgb-color-parser-in-javascript/
47 strftime: http://tech.bluesmoon.info/2008/04/strftime-in-javascript.html
48 excanvas: http://code.google.com/p/explorercanvas/
49
50 dygraphs is available under the MIT license, included in LICENSE.txt.