remove trailing comma in MochiKit
[dygraphs.git] / README
CommitLineData
19e4f838
DV
1dygraphs JavaScript charting library
2Copyright (c) 2006-, Dan Vanderkam.
3http://code.google.com/p/dygraphs/
4
5The dygraphs JavaScript library produces produces interactive, zoomable charts of time series based on CSV files.
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
15
16Caveats
17- Requires Firefox 1.5+ or Safari/WebKit? 1.3+.
18- Internet Explorer is poorly supported.
19
20Demo
21For a gallery and documentation, see http://danvk.org/dygraphs/
22
23Minimal Example
24<html>
25<head>
26<script type="text/javascript" src="dygraph-combined.js"></script>
27</head>
28<body>
29<div id="graphdiv" style="width:400px; height:300px;"></div>
30<script type="text/javascript">
31 g = new DateGraph(
32 document.getElementById("graphdiv"), // containing div
33 function() { // function or path to CSV file.
34 return "20080507,75\n" +
35 "20080508,70\n" +
36 "20080509,80\n";
37 },
38 [ "Temperature" ], // names of data series
39 {} // additional options (see wiki)
40 );
41</script>
42</body>
43</html>
44
45License(s)
46dygraphs uses:
47 - MochiKit (MIT License)
48 - PlotKit (BSD License)
49 - excanvas.js (Apache License)
50
51dygraphs is available under the MIT license, included in LICENSE.txt.