summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-02-24 18:46:50 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-02-24 18:46:50 +0100
commit09225cc69415692b6c70df1eafa4697de8fab505 (patch)
tree3593ca1ed0766bbc5c44e5b748bbb59a713f5d69 /templates
parent9d3d11783dc7cfb03a89ae5d2f0b8f83bfdfeba9 (diff)
add /bar
Diffstat (limited to 'templates')
-rw-r--r--templates/bargraph.html.ep7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/bargraph.html.ep b/templates/bargraph.html.ep
new file mode 100644
index 0000000..310220f
--- /dev/null
+++ b/templates/bargraph.html.ep
@@ -0,0 +1,7 @@
+%= javascript begin
+
+show_bargraph('/2ddata.tsv?aggregate=<%= param('xsource') %>&metric=<%= param('ysource') %>',
+ '<%= param('title') %>',
+ '<%= param('xlabel') %>', '<%= param('ylabel') %>', '<%= param('yformat') %>',
+ '<%= param('width') %>', '<%= param('height') %>');
+% end