[mrtg] Whodo sources
aid
aid at megatel.ba
Fri Jul 13 12:33:13 MEST 2001
Hello every1
I set up whodo contrib to monitor sources and destinations from ip
accounting,
However, I am unable to graph more than 1st legend (label) in PNG Graph.
Here it is:
my $my_graph = new Chart::PNGgraph::pie (370, 290 + $#sources*11);
$my_graph->set( 'label' => (@sources), 'start_angle' => 180,
'3d' => 0, 'title' => "For the
$period ending $end" );
$my_graph->set_text_clr("black");
# $my_graph->set_legend(@sources);
$my_graph->set_label_font(gdSmallFont);
$my_graph->plot_to_png( $fname, [[1..$#sources+1], \@traffic] );
I also made bar graphs, but with the same problem.
If any1 knows how to get all sources listed, plz e-mail me.
Thank you
Arsla
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list