Skip to content

Instantly share code, notes, and snippets.

@jywarren
Created July 17, 2013 15:47
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jywarren/6021816 to your computer and use it in GitHub Desktop.
Sets the graph maximum y-axis height
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