The Debian version 2.2.0, which this documentation was built for, corresponds to the subsequently mentioned release (plus patches as applicable). Note that, in the Debian package, most of the following links will not work for hopefully obvious reasons.

The current version of dygraphs is 2.2.0. Most users will want to download minified files for this version:

There's a hosted version of dygraphs on UNPKG:

<script type="text/javascript" src="https://unpkg.com/dygraphs@2.2.0/dist/dygraph.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/dygraphs@2.2.0/dist/dygraph.min.css" />

There's a hosted version of dygraphs on cdnjs.com:

<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/dygraph/2.2.0/dygraph.min.js"></script>
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/dygraph/2.2.0/dygraph.min.css" />

But note that use of CDNs violates the EU-GDPR. You can also install dygraphs locally into your project instead using NPM:

$ npm install dygraphs
  # dygraphs is now in node_modules/dygraphs/dist/dygraph.{css,js} for
  # the browser, and node_modules/dygraphs/index{,.es5}.js for nodejs

Most distributions include a source map to facilitate debugging.

To generate your own minified JS, install the prerequisites…

  • mksh
  • pax
  • python3

… and run:

git clone https://github.com/danvk/dygraphs.git
cd dygraphs
npm install
npm run build-jsonly

This will create a dygraph.min.css and a dygraph.min.js file in the dist directory.

You may also download files for previously-released versions:

See Version History for more information on each release.