Skip to content

Instantly share code, notes, and snippets.

@mtthwkfmn
Created May 1, 2010 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtthwkfmn/386142 to your computer and use it in GitHub Desktop.
Save mtthwkfmn/386142 to your computer and use it in GitHub Desktop.
{elem
<script type="text/javascript">
"\n//"
{cdata
"<![CDATA[\n"
"var graph_width = 320;\n"
"var graph_height = 200;\n"
"var bar_gap = 1;\n"
"\n"
"var graphs_uri = 2B\"/graphs.xml\";\n"
"var graphs = [\n"
" {id:\"g0\", name:\"seconds\", title:\"last 60 seconds\", bar_secs:1},\n"
" {id:\"g1\", name:\"minutes\", title:\"last 60 minutes\", bar_secs:60},\n"
" {id:\"g2\", name:\"hours\", title:\"last 24 hours\", bar_secs:3600},\n"
" {id:\"g3\", name:\"days\", title:\"last 31 days\", bar_secs:86400}\n"
"];\n"
"\n"
"window.onload = graph_loader;\n"
"//]]>"}
"\n"
</script>}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment