Incorporate patch from Mark Swanson
[dygraphs.git] / README
CommitLineData
19e4f838
DV
1dygraphs JavaScript charting library
2Copyright (c) 2006-, Dan Vanderkam.
3http://code.google.com/p/dygraphs/
8af5b23b
AK
4http://github.com/danvk/dygraphs
5
19e4f838 6
285a6bda 7The dygraphs JavaScript library produces produces interactive, zoomable charts of time series.
19e4f838
DV
8
9Features
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
285a6bda 17- Compatible with the Google Visualization API
19e4f838 18
19e4f838
DV
19Demo
20For a gallery and documentation, see http://danvk.org/dygraphs/
21
22Minimal Example
23<html>
24<head>
25<script type="text/javascript" src="dygraph-combined.js"></script>
26</head>
27<body>
285a6bda 28<div id="graphdiv"></div>
19e4f838
DV
29<script type="text/javascript">
30 g = new DateGraph(
31 document.getElementById("graphdiv"), // containing div
285a6bda
DV
32 "Date,Temperature\n" + // the data series
33 "2008-05-07,75\n" +
34 "2008-05-08,70\n" +
8af5b23b 35 "2008-05-09,80\n"
19e4f838
DV
36 );
37</script>
38</body>
39</html>
40
41License(s)
42dygraphs uses:
1946f7ce
DV
43 - rgbcolor.js (Public Domain)
44 - strftime.js (BSD License)
19e4f838
DV
45 - excanvas.js (Apache License)
46
1946f7ce
DV
47rgbcolor: http://www.phpied.com/rgb-color-parser-in-javascript/
48strftime: http://tech.bluesmoon.info/2008/04/strftime-in-javascript.html
49excanvas: http://code.google.com/p/explorercanvas/
50
19e4f838 51dygraphs is available under the MIT license, included in LICENSE.txt.