summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a052b42)
raw | patch | inline | side by side (parent: a052b42)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 29 Jan 2003 07:17:23 +0000 (07:17 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 29 Jan 2003 07:17:23 +0000 (07:17 +0000) |
program/src/rrd_graph.c | patch | blob | history |
index a037563075bd392780cf1e9456b4a50ef217174a..5060733a876041dfdab7fa592410eabdb89e1d52 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/src/rrd_graph.c
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.
*/