projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update symlinks
[dygraphs.git]
/
README
diff --git
a/README
b/README
index
abb225c
..
7d38152
100644
(file)
--- a/
README
+++ b/
README
@@
-2,7
+2,7
@@
dygraphs JavaScript charting library
Copyright (c) 2006-, Dan Vanderkam.
http://code.google.com/p/dygraphs/
Copyright (c) 2006-, Dan Vanderkam.
http://code.google.com/p/dygraphs/
-The dygraphs JavaScript library produces produces interactive, zoomable charts of time series
based on CSV files
.
+The dygraphs JavaScript library produces produces interactive, zoomable charts of time series.
Features
- Plots time series without using an external server or Flash
Features
- Plots time series without using an external server or Flash
@@
-12,6
+12,7
@@
Features
- Interactive zoom
- Adjustable averaging period
- Customizable click-through actions
- Interactive zoom
- Adjustable averaging period
- Customizable click-through actions
+- Compatible with the Google Visualization API
Caveats
- Requires Firefox 1.5+ or Safari/WebKit? 1.3+.
Caveats
- Requires Firefox 1.5+ or Safari/WebKit? 1.3+.
@@
-26,17
+27,15
@@
Minimal Example
<script type="text/javascript" src="dygraph-combined.js"></script>
</head>
<body>
<script type="text/javascript" src="dygraph-combined.js"></script>
</head>
<body>
-<div id="graphdiv"
style="width:400px; height:300px;"
></div>
+<div id="graphdiv"></div>
<script type="text/javascript">
g = new DateGraph(
document.getElementById("graphdiv"), // containing div
<script type="text/javascript">
g = new DateGraph(
document.getElementById("graphdiv"), // containing div
- function() { // function or path to CSV file.
- return "20080507,75\n" +
- "20080508,70\n" +
- "20080509,80\n";
- },
- [ "Temperature" ], // names of data series
- {} // additional options (see wiki)
+ "Date,Temperature\n" + // the data series
+ "2008-05-07,75\n" +
+ "2008-05-08,70\n" +
+ "2008-05-09,80\n";
+ }
);
</script>
</body>
);
</script>
</body>