Changing Color in ragraph

Barry Kolts bhkolts at gotrain.org
Fri Aug 1 04:33:31 EDT 2008


Hi Carter,

Thanks for the quick response. I see the colors[] array and those colors are OK. My graphs come out with the same color for 'in' and 'out':


I just compiled the 3.0.0 clients. Am I missing a conf file or a parameter?
My command line is :
ragraph sploss dploss -M 1m -r $input_file -split -fill -height 500 -width 800 -upper 100 -title "Packet_Loss" -vertical-label "Percent_Packet_loss" -w $output_file

Any thoughts?

Thanks,
Barry
  ----- Original Message ----- 
  From: Carter Bullard 
  To: Barry Kolts 
  Cc: Argus Mailing List 
  Sent: Friday, August 01, 2008 1:03 AM
  Subject: Re: [ARGUS] Changing Color in ragraph


  Hey Barry,
  The colors are determined by several tables that are hard-coded, but you can
  change the colors to anything you like.


  The idea is that colors are assigned either by a specific value, such as port
  numbers, or they are handed out first come first served.  The color values are
  in hard-coded tables, with a color for both upper and lower halves of the graph,
  (there is a slight darker shade for the lower half of the graph for the same color).


  So the idea would be to generate tables for your specific value, or change the colors
  in the existing tables to suit your particular need.  check out the Perl script and look at
  the colors[] array definitions, and if its way too weird, send email and I'll describe it
  in detail.  If you have a way you would like to specify the color, send that, and I'll see
  how I could get it into the current scheme.


  Carter


  On Aug 1, 2008, at 1:18 AM, Barry Kolts wrote:


    Hi all,

    Is it possible to change the colors of the lines and legend in ragraph?

    Thanks in advance,
    Barry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20080801/b3eec040/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bandwith_31.png
Type: application/octet-stream
Size: 64347 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20080801/b3eec040/attachment.obj>


More information about the argus mailing list