Commit | Line | Data |
---|---|---|
19e4f838 DV |
1 | dygraphs JavaScript charting library |
2 | Copyright (c) 2006-, Dan Vanderkam. | |
3 | http://code.google.com/p/dygraphs/ | |
4 | ||
285a6bda | 5 | The dygraphs JavaScript library produces produces interactive, zoomable charts of time series. |
19e4f838 DV |
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 | |
285a6bda | 15 | - Compatible with the Google Visualization API |
19e4f838 | 16 | |
19e4f838 DV |
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> | |
285a6bda | 26 | <div id="graphdiv"></div> |
19e4f838 DV |
27 | <script type="text/javascript"> |
28 | g = new DateGraph( | |
29 | document.getElementById("graphdiv"), // containing div | |
285a6bda DV |
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 | } | |
19e4f838 DV |
35 | ); |
36 | </script> | |
37 | </body> | |
38 | </html> | |
39 | ||
40 | License(s) | |
41 | dygraphs uses: | |
1946f7ce DV |
42 | - rgbcolor.js (Public Domain) |
43 | - strftime.js (BSD License) | |
19e4f838 DV |
44 | - excanvas.js (Apache License) |
45 | ||
1946f7ce DV |
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 | ||
19e4f838 | 50 | dygraphs is available under the MIT license, included in LICENSE.txt. |