summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-02-24 16:20:47 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-02-24 16:20:47 +0100
commit8ad5eb58b01e068428652aabcb519281ab6c0461 (patch)
treea3ef3b5b3e224fd9953811d2f3c294339a2b9f86 /templates
parentd991d48df768cfc990848d7aa661ce632a262847 (diff)
bargraph: optional width/height parameters
Diffstat (limited to 'templates')
-rw-r--r--templates/main.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/main.html.ep b/templates/main.html.ep
index 6038879..ecf3f76 100644
--- a/templates/main.html.ep
+++ b/templates/main.html.ep
@@ -13,7 +13,7 @@ show_bargraph('/2ddata.tsv?aggregate=weekday&metric=cancel_rate', 'Anteil Zugaus
'Wochentag', 'Ausfälle', '.1%');
show_bargraph('/2ddata.tsv?aggregate=weekhour&metric=delay', 'Durchschnittliche Verspätung nach Wochentag und Uhrzeit',
- 'Tag/Stunde', 'Minuten', '.1f');
+ 'Tag/Stunde', 'Minuten', '.1f', 2048, 400);
show_bargraph('/2ddata.tsv?aggregate=line&metric=delay', 'Durchschnittliche Verspätung nach Linie',
'Typ', 'Minuten', '.1f');