Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Interactive visualizations of time series using JavaScript and the HTML canvas tag
JavaScript HTML Other

Merge pull request #628 from pshevtsov/super-annotations-xOptView

Adding xOptView for to work properly
latest commit 68c27ff931
@danvk authored
Failed to load latest commit information.
auto_tests Merge pull request #657 from kbaggott/master
common Remove commented-out console.log.
docs Merge pull request #619 from davidmsibley/cidaUsers
experimental/palette Kill all the IE/excanvas hacks
gallery Fix link to synchronize.js file
gwt/org/danvk fix gwt-dist task
jsdoc-toolkit clear generated jsdoc; add script
scripts Ensure .only() is never committed
src Merge pull request #628 from pshevtsov/super-annotations-xOptView
tests Added test cases to verify that per series alphaFill is working properly
.gitignore Build dygraph-combined with gulp.
.jshintrc Convert tests from jstd to Mocha.
.travis.yml Use Travis container architecture Update documentation Fork off Karma file for in-browser debug
LICENSE.txt add licensing info Update documentation
bower.json Remove moot `version` property from bower.json
dygraph-dev.js update dygraph-dev.js
dygraph-exports.js lint cleanup
dygraph-externs.js Add missing license text to dygraph-externs.js and dygraph-types.js
gulpfile.js match existing dygraphs generated files
package.json Fork off Karma file for in-browser debug
releases.json Bump versions & add release notes for 1.1.0
screenshot.png update gadget, add screenshot
thumbnail.png add thumbnail

Build Status Coverage Status

dygraphs JavaScript charting library

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

Learn more about it at

Get help with dygraphs on Stack Overflow (preferred) and Google Groups


Minimal Example

<script type="text/javascript" src="dygraph-combined.js"></script>
<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" +
        { }                                   // the options

Learn more by reading the tutorial and seeing demonstrations of what dygraphs can do in the gallery.


To get going, clone the repo and run:

npm install
gulp dist

Read more about the dygraphs development process in the developer guide.


dygraphs uses:

  • UglifyJS (BSD License)
  • JsDoc Toolkit (MIT license)
  • console-polyfill (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.3cjar (Apache 2.0 License)

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

Something went wrong with that request. Please try again.