Skip to content
This repository

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. Issue tracker at http://code.google.com/p/dygraphs/issues/list

Octocat-spinner-32 auto_tests temporarily remove failing test March 18, 2014
Octocat-spinner-32 common Remove commented-out console.log. December 28, 2012
Octocat-spinner-32 datahandler todo is done October 14, 2013
Octocat-spinner-32 docs fix SO links March 05, 2014
Octocat-spinner-32 experimental Merge branch 'master' of git://github.com/danvk/dygraphs into axis-la… January 03, 2013
Octocat-spinner-32 extras kberg review October 17, 2013
Octocat-spinner-32 gallery fix additional lint errors December 14, 2013
Octocat-spinner-32 gwt Add GWT Dygraphs loader class and supporting files. April 09, 2010
Octocat-spinner-32 jsdoc-toolkit clear generated jsdoc; add script May 09, 2011
Octocat-spinner-32 jshint Add JSHint and make dygraphs pass its checks. December 25, 2011
Octocat-spinner-32 plugins fix XSS in labels January 05, 2014
Octocat-spinner-32 tests misc fixes October 25, 2013
Octocat-spinner-32 .dygraph-combined-clean.js Some Makefile fun - * new lint and clean commands, * add test to gene… November 24, 2012
Octocat-spinner-32 .gitignore ignore docs/options.html May 09, 2011
Octocat-spinner-32 LICENSE.txt add licensing info August 20, 2009
Octocat-spinner-32 Makefile Whoops, small bug in https://github.com/danvk/dygraphs/pull/186/files;… December 30, 2012
Octocat-spinner-32 NOTES axis computation September 30, 2010
Octocat-spinner-32 README kberg review October 17, 2013
Octocat-spinner-32 closure-todo.txt Datahandler and Unified Data Format August 27, 2013
Octocat-spinner-32 compile-with-closure.sh better script October 23, 2013
Octocat-spinner-32 dashed-canvas.js Closurify some low-hanging fruit November 23, 2012
Octocat-spinner-32 data.js Initial check-in August 18, 2009
Octocat-spinner-32 dygraph-canvas.js remaining changes from dygraph-utils.js October 17, 2013
Octocat-spinner-32 dygraph-combined.js revert combined July 05, 2012
Octocat-spinner-32 dygraph-dev.js copy over lots of changes from "shrink" branch. October 15, 2013
Octocat-spinner-32 dygraph-exports.js lint cleanup October 26, 2013
Octocat-spinner-32 dygraph-externs.js Update dygraph-externs to better reflect the public API (thanks mcantos) October 26, 2013
Octocat-spinner-32 dygraph-gviz.js Refactoring to fix stacked graphs with NaNs. June 06, 2013
Octocat-spinner-32 dygraph-interaction-model.js move dragGet{X,Y} to dygraph-utils.js October 17, 2013
Octocat-spinner-32 dygraph-internal.externs.js comments & cleanup October 23, 2013
Octocat-spinner-32 dygraph-layout.js Merge pull request #279 from danvk/datahandler-cleanup October 17, 2013
Octocat-spinner-32 dygraph-options-reference.js Add drawAxis option, deprecating drawXAxis and drawYAxis. Added tests… September 13, 2013
Octocat-spinner-32 dygraph-options.js lightweight dead code elimination July 17, 2013
Octocat-spinner-32 dygraph-plugin-base.js refactor generate-combined.sh January 24, 2013
Octocat-spinner-32 dygraph-plugin-install.js refactor generate-combined.sh January 24, 2013
Octocat-spinner-32 dygraph-tickers.js Fix for ticks when years are < 100. February 07, 2014
Octocat-spinner-32 dygraph-types.js add dygraph-types.js October 17, 2013
Octocat-spinner-32 dygraph-utils.js Merge pull request #266 from hulkholden/fix_hidpi March 01, 2014
Octocat-spinner-32 dygraph.js Merge pull request #266 from hulkholden/fix_hidpi March 01, 2014
Octocat-spinner-32 excanvas.js update excanvas November 11, 2010
Octocat-spinner-32 file-size-stats.sh kberg review October 17, 2013
Octocat-spinner-32 gadget.xml padding January 29, 2011
Octocat-spinner-32 generate-combined.sh copy over lots of changes from "shrink" branch. October 15, 2013
Octocat-spinner-32 generate-documentation.py New dygraphs home page August 04, 2013
Octocat-spinner-32 generate-download.py link to new version history page August 29, 2013
Octocat-spinner-32 generate-jar.sh Add GWT Dygraphs loader class and supporting files. April 09, 2010
Octocat-spinner-32 generate-jsdoc.sh set permissions in generate* April 20, 2012
Octocat-spinner-32 gviz-api.js compile-with-closure script October 21, 2013
Octocat-spinner-32 jsTestDriver.conf kberg review October 17, 2013
Octocat-spinner-32 lint.sh Fix lint errors in gallery and add its JS files to lint.sh December 13, 2013
Octocat-spinner-32 phantom-driver.js I broke ./test.sh, and this fixes it. June 03, 2013
Octocat-spinner-32 phantom-perf.js Add a command-line performance test June 30, 2012
Octocat-spinner-32 push-to-web.sh misc fixes October 25, 2013
Octocat-spinner-32 release.sh suggest merge command in release.sh August 29, 2013
Octocat-spinner-32 releases.json bump version to 1.0.1 August 28, 2013
Octocat-spinner-32 screenshot.png update gadget, add screenshot January 29, 2011
Octocat-spinner-32 stacktrace.js When possible, record the file/line number that logged an error/warning. December 16, 2011
Octocat-spinner-32 test.sh Add --verbose to ./test.sh and phantom-driver.js June 03, 2013
Octocat-spinner-32 thumbnail.png add thumbnail November 26, 2009
Octocat-spinner-32 yuicompressor-2.4.2.jar switch to YUI compressor for making packed JS -- 49k -> 42k December 16, 2009
README
dygraphs JavaScript charting library
Version 1.0.1
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 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:
 - 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)

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.