summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-03-07 16:27:43 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-03-07 16:27:43 +0100
commit8f10edc76c8ede3ab19aca5e0d6cec532cfc32e6 (patch)
tree1fef453cdf1d8ad926f2d5c6322ef142e3054755 /templates
parentab524754caf72694297437a083d6e3c2f4b8801c (diff)
add filters (mostly working, even)
Diffstat (limited to 'templates')
-rw-r--r--templates/bargraph.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/bargraph.html.ep b/templates/bargraph.html.ep
index 7e989e6..5b6282d 100644
--- a/templates/bargraph.html.ep
+++ b/templates/bargraph.html.ep
@@ -2,7 +2,7 @@
%= javascript begin
-show_bargraph('/2ddata.tsv?aggregate=<%= param('xsource') %>&metric=<%= param('ysource') %>&msgnum=<%= param('msgnum') %>',
+show_bargraph('/2ddata.tsv?aggregate=<%= param('xsource') %>&metric=<%= param('ysource') %>&msgnum=<%= param('msgnum') %>&filter_line=<%= param('filter_line') %>&filter_train_type=<%= param('filter_train_type') %>&filter_station=<%= param('filter_station') %>&filter_destination=<%= param('filter_destination') %>&filter_delay_min=<%= param('filter_delay_min') %>&filter_delay_max=<%= param('filter_delay_max') %>',
'<%= param('title') %>',
'<%= param('xlabel') %>', '<%= param('ylabel') %>', '<%= param('yformat') %>',
'<%= param('width') %>', '<%= param('height') %>');