Bargraph für allgemeine Metriken wie z.B. Verspätung oder Zugausfälle pro Bahnhof oder Zeiteinheit. Alle Eingabefelder sind optional. % if (not defined param('want_msg')) { % param(want_msg => 0); % } %= form_for bar => begin
% my %yargs = %{$self->barplot_args->{y}}; % my @yarg_keys = sort keys %yargs; %= select_field ysource => [map {[$yargs{$_}->{desc}, $_]} @yarg_keys], class => 'browser-default'
% my %xargs = %{$self->barplot_args->{x}}; % my @xarg_keys = sort keys %xargs; %= select_field xsource => [map {[$xargs{$_}->{desc}, $_]} @xarg_keys], class => 'browser-default'
%= text_field 'width' => 960, class => 'dimension'
%= text_field 'height' => 500, class => 'dimension'
%= include 'filterform'; % end