Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 1177 commits behind danvk:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
images
README
annotation-gviz.js
annotation-native.js
annotation.js
avoidMinZero.js
border.js
callback.js
color-cycle.js
color-visibility.js
data.js
demo.js
drawing.js
dygraph-simple.js
dynamic-update.js
gallery-template.js
gallery.css
gallery.js
highlighted-region.js
independent-series.js
index.html
interaction-api.js
interaction.js
linear-regression.js
link-interaction.js
negative.js
no-range.js
number-format.js
per-series.js
plotter.js
range-selector.js
resize.js
stock.js
styled-chart-labels.js
synchronize.js
temperature-sf-ny.js
two-axes.js

README

Tips on adding entries to the gallery
 
* You can use the id in conjunction with specialized CSS.

* Most files don't have a lot of HTML, but some have tons. See
  independent-series for tips on adding a lot of HTML.

* You can also define a function called cleanup, which is the
  opposite of setup. It's perfect for stopping timers, for instance.

* Callbacks in HTML widgets. You might assume you can use
  <button onclick="func">
  and then define func in your run script:
  
  run: function() { function func() { .. }; }

  but because func is defined in function scope the button can't call it.
  The solution is to put func in the global scope, which is the same as window
  scope:

  run: function() { function window.func() { .. }; }

* You'll find it easier if you convert all the double-quotes in your HTML to
  single quotes.

TODOs:
  * Remove the awful tables in interaction.html (that I wrote)
  * Move all style to css
  * Add margin-left: 30px to #workarea, and then make #workarea h2 { margin-left: -30px}
  * Remove runtime warnings.
Something went wrong with that request. Please try again.