switch to YUI compressor for making packed JS -- 49k -> 42k
[dygraphs.git] / README
... / ...
CommitLineData
1dygraphs JavaScript charting library
2Copyright (c) 2006-, Dan Vanderkam.
3http://code.google.com/p/dygraphs/
4http://github.com/danvk/dygraphs
5
6
7The dygraphs JavaScript library produces produces interactive, zoomable charts of time series.
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
17- Compatible with the Google Visualization API
18
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>
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
41License(s)
42dygraphs uses:
43 - rgbcolor.js (Public Domain)
44 - strftime.js (BSD License)
45 - excanvas.js (Apache License)
46 - YUI compressor (BSD License)
47
48rgbcolor: http://www.phpied.com/rgb-color-parser-in-javascript/
49strftime: http://tech.bluesmoon.info/2008/04/strftime-in-javascript.html
50excanvas: http://code.google.com/p/explorercanvas/
51yui compressor: http://developer.yahoo.com/yui/compressor/
52
53dygraphs is available under the MIT license, included in LICENSE.txt.