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