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 DV |
16 | |
17 | Caveats | |
18 | - Requires Firefox 1.5+ or Safari/WebKit? 1.3+. | |
19 | - Internet Explorer is poorly supported. | |
20 | ||
21 | Demo | |
22 | For a gallery and documentation, see http://danvk.org/dygraphs/ | |
23 | ||
24 | Minimal Example | |
25 | <html> | |
26 | <head> | |
27 | <script type="text/javascript" src="dygraph-combined.js"></script> | |
28 | </head> | |
29 | <body> | |
285a6bda | 30 | <div id="graphdiv"></div> |
19e4f838 DV |
31 | <script type="text/javascript"> |
32 | g = new DateGraph( | |
33 | document.getElementById("graphdiv"), // containing div | |
285a6bda DV |
34 | "Date,Temperature\n" + // the data series |
35 | "2008-05-07,75\n" + | |
36 | "2008-05-08,70\n" + | |
37 | "2008-05-09,80\n"; | |
38 | } | |
19e4f838 DV |
39 | ); |
40 | </script> | |
41 | </body> | |
42 | </html> | |
43 | ||
44 | License(s) | |
45 | dygraphs uses: | |
46 | - MochiKit (MIT License) | |
47 | - PlotKit (BSD License) | |
48 | - excanvas.js (Apache License) | |
49 | ||
50 | dygraphs is available under the MIT license, included in LICENSE.txt. |