]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl adjust x labels
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 19 Jan 2008 11:17:11 +0000 (11:17 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 19 Jan 2008 11:17:11 +0000 (11:17 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6298 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/cgi/bgraph.pl

index 535d92733b0074c5c2e7f6c9bc79337080fa2fab..1251fdeb749bd6dba26cbd9760b3989bfb53b9f1 100755 (executable)
@@ -214,7 +214,7 @@ sub get_graph
 
     $graph->set('x_label' => 'Time',
                'x_number_format' => sub { strftime('%D', localtime($_[0])) },
-               'x_tick_number' => 1,
+               'x_tick_number' => 5*$arg->{width}/800,
                @options,
                );