From: Tobias Oetiker Date: Wed, 29 Jan 2003 07:17:23 +0000 (+0000) Subject: fixed the processing of TICK:vname#color:frac:legend -- Scott Mace X-Git-Tag: 1.2rc1~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ddb7248ffd12dd95627805ca7ef3745d048033a2;p=thirdparty%2Frrdtool-1.x.git fixed the processing of TICK:vname#color:frac:legend -- Scott Mace git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@174 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index a0375630..5060733a 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -1008,7 +1008,7 @@ data_proc( image_desc_t *im ){ paintval = 0.0; case GF_STACK: value = im->gdes[ii].yrule; - if (isnan(value)) { /* not a number or VDEF */ + if (isnan(value) || (im->gdes[ii].gf == GF_TICK)) { /* The time of the data doesn't necessarily match ** the time of the graph. Beware. */