Yesterday Haroon Rafique wrote: > Hi, > > First time poster. Been using rrdtool for the last 6 months or so. I'm > running rrdtool 1.0.45 on a Gentoo Linux machine. libgd version is 2.0.15. > > Recently upgraded from 1.0.42 and noticed a quirky thing. I cannot get any > LINE1, 2 or 3 to show up in the graph when I use the color #000000. If I > simply replace the color with #000001 the (almost) black line reappears. I > did not experience this behavior with 1.0.42, only with 1.0.45. > > Anyone else experience the same?
Haroon, yes this bug has already been fixed in my working version ... Use this in the MkLineBrush function of rrd_graph and all will be well pen = gdImageColorAllocate(brush, im->gdes[cosel].col.red, im->gdes[cosel].col.green, im->gdes[cosel].col.blue); gdImageColorTransparent(brush, gdImageColorAllocate(brush, 0, 0, 0)); cheers tobi > > Regards, > -- > Haroon Rafique > <[EMAIL PROTECTED]> > > -- > Unsubscribe mailto:[EMAIL PROTECTED] > Help mailto:[EMAIL PROTECTED] > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- ______ __ _ /_ __/_ / / (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich / // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach /_/ \.__/_.__/_/ http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286 -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi