Skip to content

lanji/dygraphs

 
 

Repository files navigation

dygraphs JavaScript charting library
Copyright (c) 2006-, Dan Vanderkam.

Documentation: http://dygraphs.com/
Support: http://groups.google.com/group/dygraphs-users
Source: http://github.com/danvk/dygraphs
Issues: http://code.google.com/p/dygraphs/


The dygraphs JavaScript library produces produces interactive, zoomable charts of time series.

Features
- Plots time series without using an external server or Flash
- Supports multiple data series
- Supports error bands around data series
- Displays values on mouseover
- Interactive zoom
- Adjustable averaging period
- Customizable click-through actions
- Compatible with the Google Visualization API

Demo
For a gallery and documentation, see http://dygraphs.com/

Minimal Example
<html>
<head>
<script type="text/javascript" src="dygraph-combined.js"></script>
</head>
<body>
<div id="graphdiv"></div>
<script type="text/javascript">
  g = new Dygraph(
        document.getElementById("graphdiv"),  // containing div
        "Date,Temperature\n" +                // the data series
        "2008-05-07,75\n" +
        "2008-05-08,70\n" +
        "2008-05-09,80\n",
        { }                                   // the options
      );
</script>
</body>
</html>

Making Changes
If you've made a change to dygraphs and would like to contribute it back to the
community, please follow the guide at http://dygraphs.com/changes.html.

License(s)
dygraphs uses:
 - rgbcolor.js (Public Domain)
 - strftime.js (BSD License)
 - excanvas.js (Apache License)
 - YUI compressor (BSD License)
 - JsDoc Toolkit (MIT license)


automated tests use:
 - auto_tests/lib/jquery-1.4.2.js (MIT & GPL2)
 - auto_tests/lib/Asserts.js (Apache 2.0 License)
 - auto-tests/lib/JsTestDriver-1.3.2.jar (Apache 2.0 License

rgbcolor: http://www.phpied.com/rgb-color-parser-in-javascript/
strftime: http://tech.bluesmoon.info/2008/04/strftime-in-javascript.html
excanvas: http://code.google.com/p/explorercanvas/
yui compressor: http://developer.yahoo.com/yui/compressor/
jsdoc toolkit: http://code.google.com/p/jsdoc-toolkit/

jquery: http://code.jquery.com/jquery-1.4.2.js
Asserts.js: http://www.google.com/codesearch/p?#3tsINRJRCro/trunk/JsTestDriver/src/com/google/jstestdriver/javascript/Asserts.js
JSTestDriver: http://code.google.com/p/js-test-driver/

dygraphs is available under the MIT license, included in LICENSE.txt.

About

Interactive visualizations of time series using JavaScript and the HTML canvas tag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published