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

Merge pull request #541 from mjanda/master

Call previously set callbacks and reattach them on detach()
latest commit 710ac67ad5
Dan Vanderkam authored
Failed to load latest commit information.
auto_tests Set `this` to the Dygraph for formatting callbacks.
common Remove commented-out console.log.
datahandler Make setSelection() work with missing points.
docs Remove legacy options:
experimental/palette Kill all the IE/excanvas hacks
extras Get it under 80 chars per line
gallery Kill all the IE/excanvas hacks
gwt/org/danvk Add GWT Dygraphs loader class and supporting files.
jsdoc-toolkit clear generated jsdoc; add script
plugins Set `this` to the Dygraph for formatting callbacks.
polyfills add console polyfill; kill stacktrace.js
tests Rename syncRange --> range, cleanup, document, test.
.dygraph-combined-clean.js Reverted dygraph-combined.js
.gitignore ignore env
.jshintrc Turn on more lint warnings; clear up some directives
.travis.yml Lint as part of Travis tests
CONTRIBUTING.md CONTRIBUTING.md formatting
LICENSE.txt add licensing info
Makefile Lint as part of Travis tests
NOTES axis computation
README.md Add a coverage badge
bower.json Delete excanvas and related IE workarounds
check-combined-unaffected.sh Check that dygraph-combined is un-generated when testing.
closure-todo.txt Datahandler and Unified Data Format
compile-with-closure.sh Use closure compiler from NPM
dashed-canvas.js Turn on more lint warnings; clear up some directives
data.js Initial check-in
dygraph-canvas.js Delete excanvas and related IE workarounds
dygraph-combined.js Reverted dygraph-combined.js
dygraph-dev.js add console polyfill; kill stacktrace.js
dygraph-exports.js lint cleanup
dygraph-externs.js Add missing license text to dygraph-externs.js and dygraph-types.js
dygraph-gviz.js Turn on more lint warnings; clear up some directives
dygraph-interaction-model.js Lint as part of Travis tests
dygraph-internal.externs.js Delete excanvas and related IE workarounds
dygraph-layout.js Turn on more lint warnings; clear up some directives
dygraph-options-reference.js Document each parameter of valueFormatter
dygraph-options.js Camel-case variable.
dygraph-plugin-base.js refactor generate-combined.sh
dygraph-plugin-install.js refactor generate-combined.sh
dygraph-tickers.js Set `this` to the Dygraph for formatting callbacks.
dygraph-types.js Add missing license text to dygraph-externs.js and dygraph-types.js
dygraph-utils.js Remove legacy options:
dygraph.js Set `this` to the Dygraph for formatting callbacks.
gadget.xml padding
generate-combined.sh generate dygraph-combined-dev.js
generate-documentation.py Document the value of `this`.
generate-download.py Bump versions & add release notes for 1.1.0
generate-jar.sh Add GWT Dygraphs loader class and supporting files.
generate-jsdoc.sh set permissions in generate*
gviz-api.js compile-with-closure script
jsTestDriver.conf Add tools and instructions for code coverage
package.json Add tools and instructions for code coverage
phantom-driver.js add console polyfill; kill stacktrace.js
phantom-perf.js Add a command-line performance test
push-to-web.sh Delete excanvas and related IE workarounds
release.sh ignore combined file in release.sh
releases.json Bump versions & add release notes for 1.1.0
screenshot.png update gadget, add screenshot
test.sh Make test.sh return an error code on failure.
thumbnail.png add thumbnail

README.md

Build Status Coverage Status

dygraphs JavaScript charting library

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

Learn more about it at dygraphs.com.

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

Features

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>

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

Making Changes

If you've made a change to dygraphs and would like to contribute it back to the community, please follow the Guide to making dygraphs changes.

License(s)

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.