You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<html><head><scripttype="text/javascript" src="dygraph.js"></script><linkrel="stylesheet" type="text/css" href="dygraph.css" /></head><body><divid="graphdiv"></div><scripttype="text/javascript"><!--//--><![CDATA[//><!--
Dygraph.onDOMready(functiononDOMready(){// or jQuery $() etc.g=newDygraph(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. You can get dygraph.js and dygraph.css
from UNPKG, cdnjs or from NPM (see below).
Usage with a module loader
Get dygraphs from NPM:
npm install dygraphs
Do not install from the git repository! Always use a tarball install,
which contains the prebuilt files; npm fails to build the source code
on install from github. (The tarball from the GitHub Registry is fine.)
You'll find pre-built JS & CSS files in node_modules/dygraphs/dist/. If you're
using a module bundler like browserify or webpack, you can import dygraphs: