Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: help with rrdtool::oo and dinamic draw

by guacamayo (Acolyte)
on Apr 21, 2011 at 13:18 UTC ( #900604=note: print w/ replies, xml ) Need Help??


in reply to Re: help with rrdtool::oo and dinamic draw
in thread help with rrdtool::oo and dinamic draw

Hi! Thanks, a step further :-) and now ..

foreach my $row (@sensor_h) { push(@draw, { file => "../data/$row.rrd", legend => "Source 1", thic +kness => 2, color => '00FF00' }); }
$rrd->graph( #image => '-', image => "../images/" . $sensor . ".png", vertical_label => 'Sensors', width => $width, height => $height, start => time() - $period, draw => { file => "../data/sensor1.rrd", legend => "Source + 1", thickness => 2, color => '00FF00' }, draw => $draw[0], draw => $draw[1], ... and so on ... );
yes, so works but i need to pass or join a hash with more draw occurrences thanks


Comment on Re^2: help with rrdtool::oo and dinamic draw
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://900604]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-12-25 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls