[rrd-users] Re: --color options to rrd graph

Alex van den Bogaerdt alex at ergens.op.het.net
Thu Jun 10 11:29:53 MEST 2004

On Wed, Jun 09, 2004 at 06:14:29PM -0700, Jack Tavares wrote:
> Hello -
> I am trying to use the -c|--color options to set
> the BACK, SHADEA and SHADEB colors.
> It works fine from the command line, ala:
> rdtool graph /usr/local/images/memoryV86BQ2.png -s -10800 
> 	-w 539 -h 100 -aPNG -tMemory -v Memory -l 0 -b 1024 
> 	--color SHADEA#deddd9 --color SHADEB#deddd9 --color BACK#deddd9 
> 	DEF:memory=/var/rrd/memrrdfile:memory:AVERAGE 
> 	CDEF:myvname0=memory LINE2:myvname0#6495ed:memory
> but it doesn't work when I make the library call from my
> .c program. I get
> "unrecognized option '--color SHADEA#deddd9'

Shouldn't this be '--color' 'SHADEA#deddd9'
in other words: two arguments, not one?

I ask you to respect any "Reply-To" and "Mail-Follow-Up" headers.  If
you reply to me off-list, you'd better tell me you're doing so.  If
you don't, and if I reply to the list, that's your problem, not mine.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list