Could you try<br><br>(guessing on the command structure, looking for multiple --color values)<br>rrdtool graph --color BACK#e9e9e9 CANVAS#F660AB foo.rrd<br><br clear="all">Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>

1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br>
<br><br><div class="gmail_quote">On Thu, Apr 28, 2011 at 4:00 PM, Ralph Mitchell <span dir="ltr"><<a href="mailto:ralphmitchell@gmail.com">ralphmitchell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I'm generating some graphs by execing rrdtool from php:<div><br></div><div>   rrdtool graph --color BACK#xxxxx ... ... ...</div><div><br></div><div>and it sets the paper color all the way across the graph image.  I think maybe CANVAS would set the paper color for the gridded area containing the graph lines, with SHADEA for the top/left border and SHADEB for the bottom/right border where the legend and labels are.  Etc for the other options.</div>


<div><br></div><font color="#888888"><div>Ralph</div></font><div><div></div><div class="h5"><div><br></div><div><br><div class="gmail_quote">On Thu, Apr 28, 2011 at 3:52 PM, Josh Luthman <span dir="ltr"><<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><code>BACK</code> background, <code>CANVAS</code> for the background of the actual graph<br>

<br>I'm guessing BACK is the outside border and CANVAS is behind the faint red/grey lines and the data plot.<br>
<br>I'm guessing it's space delimited, but could you confirm the change, compile and post to the list, Lynn?<div><br>

<br clear="all">Josh Luthman<br>Office: <a href="tel:937-552-2340" value="+19375522340" target="_blank">937-552-2340</a><br>Direct: <a href="tel:937-552-2343" value="+19375522343" target="_blank">937-552-2343</a><br>1100 Wayne St<br>


Suite 1337<br>Troy, OH 45373<br>
<br><br></div><div><div></div><div><div class="gmail_quote">On Thu, Apr 28, 2011 at 3:42 PM, Ralph Mitchell <span dir="ltr"><<a href="mailto:ralphmitchell@gmail.com" target="_blank">ralphmitchell@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>Round about line 1038 in  xymon-4.3.2/web/showgraph.c<div><br></div><div>If you just want to make the graph paper color non-white, you should only need to add something like:</div><div><br></div><div>        rrdargs[argi++]  = "-c";</div>





</div><div><div><div>        rrdargs[argi++]  = "BACK#e9e9e9";</div><div><br></div><div>to get a light shade of grey.  If you want it configurable, there's several places in that same file where bits need adding to be able to get options from the graphs.cfg.</div>





<div><br></div><div>Ralph Mitchell</div></div><div><br><br><div class="gmail_quote"><div>On Thu, Apr 28, 2011 at 3:28 PM, Josh Luthman <span dir="ltr"><<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>></span> wrote:<br>





</div><div><div></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">My mistake, I was thinking the background of the page that the graph was on rather then the graph image itself.<br>




<br>
I'm thinking you'll need to modify the Xymon code itself, as I don't recall this being configurable.  Looking at hobbitgraph.cfg I see that has the data and variables, but the rrdtool command needs the option set.  I don't know what calls hobbitgraph.cfg, but I bet if you find out you'll find the answer to your original question.<br>







<br><a href="http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html" target="_blank">http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html</a><br><br>[-c|--color COLORTAG#rrggbb[aa]]<div><br><br>Josh Luthman<br>Office: <a href="tel:937-552-2340" value="+19375522340" target="_blank">937-552-2340</a><br>





Direct: <a href="tel:937-552-2343" value="+19375522343" target="_blank">937-552-2343</a><br>

1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br>
<br><br></div><div><div></div><div><div class="gmail_quote">On Thu, Apr 28, 2011 at 3:15 PM, Lynn Osburn <span dir="ltr"><<a href="mailto:losburn@thepinnaclegroup.com" target="_blank">losburn@thepinnaclegroup.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">No, Josh, was referring to the graphs generated from the rrd
data.  </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Josh Luthman [mailto:<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>]
<br>
<b>Sent:</b> Thursday, April 28, 2011 1:09 PM<br>
<b>To:</b> Lynn Osburn<br>
<b>Cc:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [Xymon] changing graph canvas color</span></p>

</div><div><div></div><div>

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-bottom: 12pt;">You mean the repeated
green/yellow/red background?  Just change the image file.<br>
<br>
<BODY BGCOLOR="green" <b>BACKGROUND="/xymon/gifs/bkg-green.gif"
</b>TEXT="#D8D8BF" LINK="#00FFAA"
VLINK="#FFFF44"><br>
<br>
Josh Luthman<br>
Office: <a href="tel:937-552-2340" value="+19375522340" target="_blank">937-552-2340</a><br>
Direct: <a href="tel:937-552-2343" value="+19375522343" target="_blank">937-552-2343</a><br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
</p>

<div>

<p class="MsoNormal">On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <<a href="mailto:losburn@thepinnaclegroup.com" target="_blank">losburn@thepinnaclegroup.com</a>>
wrote:</p>

<p class="MsoNormal">I'm looking through the various cfg files, looking for a
place to change the background (canvas) color of all the generated graphs.<br>
<br>
I thought I'd find it in xymonserver.cfg, but didn't see it.<br>
<br>
Has anyone else figured this out before?<br>
<br>
Thanks!<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a></p>

</div>

<p class="MsoNormal"> </p>

</div></div></div>

</div>


</blockquote></div><br>
</div></div><br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div></div></div><br></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>