Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
auto_tests
common
docs
experimental/palette
gallery
gwt/org/danvk
jsdoc-toolkit
jshint
plugins
rgbcolor
strftime
tests
.gitignore
LICENSE.txt
Makefile
NOTES
README
data.js
dygraph-canvas.js
dygraph-combined.js
dygraph-dev.js
dygraph-gviz.js
dygraph-interaction-model.js
dygraph-layout.js
dygraph-options-reference.js
dygraph-range-selector.js
dygraph-tickers.js
dygraph-utils.js
dygraph.js
excanvas.js
gadget.xml
generate-combined.sh
generate-documentation.py
generate-jar.sh
generate-jsdoc.sh
jsTestDriver.conf
lint.sh
phantom-driver.js
push-to-web.sh
screenshot.png
stacktrace.js
test.sh
thumbnail.png
yuicompressor-2.4.2.jar

README

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)
 - stacktrace.js is public domain

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.3cjar (Apache 2.0 License

Linter uses:
 - JSHint (modified MIT license; prevents evil)

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/

JSHint: jshint.com

dygraphs is available under the MIT license, included in LICENSE.txt.
Something went wrong with that request. Please try again.