adjust spacing
[dygraphs.git] / README
CommitLineData
19e4f838
DV
1dygraphs JavaScript charting library
2Copyright (c) 2006-, Dan Vanderkam.
3http://code.google.com/p/dygraphs/
4
285a6bda 5The dygraphs JavaScript library produces produces interactive, zoomable charts of time series.
19e4f838
DV
6
7Features
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
17Demo
18For a gallery and documentation, see http://danvk.org/dygraphs/
19
20Minimal 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
40License(s)
41dygraphs uses:
1946f7ce
DV
42 - rgbcolor.js (Public Domain)
43 - strftime.js (BSD License)
19e4f838
DV
44 - excanvas.js (Apache License)
45
1946f7ce
DV
46rgbcolor: http://www.phpied.com/rgb-color-parser-in-javascript/
47strftime: http://tech.bluesmoon.info/2008/04/strftime-in-javascript.html
48excanvas: http://code.google.com/p/explorercanvas/
49
19e4f838 50dygraphs is available under the MIT license, included in LICENSE.txt.