Skip to content

Instantly share code, notes, and snippets.

@keflavich
Forked from jywarren/set_graph_height.js
Created January 25, 2014 16:36
Show Gist options
  • Save keflavich/8619072 to your computer and use it in GitHub Desktop.
Save keflavich/8619072 to your computer and use it in GitHub Desktop.
setup: function() {
// code to run on startup
flotoptions.yaxis.max = prompt("Enter a maximum graph height percentage, such as '50'");$.plot($("#graph"),$W.data,flotoptions);
},
draw: function() {
// code to run every frame
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment