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